diff options
author | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2019-02-22 11:12:49 +0100 |
---|---|---|
committer | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2019-02-22 11:12:49 +0100 |
commit | 54db1bfd65d1d17d1d45c12c8626b9e7fa84e694 (patch) | |
tree | 0b3a101ef58f8900e009eed2bb2137f3439edaa4 /examples | |
parent | 2904de612a5e52c14776978dd5a31cdde2bfc34e (diff) | |
download | oauthlib-54db1bfd65d1d17d1d45c12c8626b9e7fa84e694.tar.gz |
Remove usage of "state" for code/token response.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/skeleton_oauth2_web_application_server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/skeleton_oauth2_web_application_server.py b/examples/skeleton_oauth2_web_application_server.py index e53232f..9a30373 100644 --- a/examples/skeleton_oauth2_web_application_server.py +++ b/examples/skeleton_oauth2_web_application_server.py @@ -48,7 +48,7 @@ class SkeletonValidator(RequestValidator): def save_authorization_code(self, client_id, code, request, *args, **kwargs): # Remember to associate it with request.scopes, request.redirect_uri - # request.client, request.state and request.user (the last is passed in + # request.client and request.user (the last is passed in # post_authorization credentials, i.e. { 'user': request.user}. pass @@ -63,8 +63,8 @@ class SkeletonValidator(RequestValidator): return False def validate_code(self, client_id, code, client, request, *args, **kwargs): - # Validate the code belongs to the client. Add associated scopes, - # state and user to request.scopes and request.user. + # Validate the code belongs to the client. Add associated scopes + # and user to request.scopes and request.user. pass def confirm_redirect_uri(self, client_id, code, redirect_uri, client, request, *args, **kwargs): |