Replace resource with client in docs.

This commit is contained in:
Juan Ignacio Fiorentino 2018-04-24 11:10:27 -03:00 committed by GitHub
parent 20a355d9f5
commit 5a65ac17f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,11 +98,11 @@ OPTIONAL. ``str`` or ``(list, tuple)``.
A string with the location of your function hook or ``list`` or ``tuple`` with hook functions.
Here you can add extra dictionary values specific to your valid response value for token introspection.
The function receives an ``introspection_response`` dictionary, a ``resource`` instance and an ``id_token`` dictionary.
The function receives an ``introspection_response`` dictionary, a ``client`` instance and an ``id_token`` dictionary.
Default is::
def default_introspection_processing_hook(introspection_response, resource, id_token):
def default_introspection_processing_hook(introspection_response, client, id_token):
return introspection_response