diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2019-07-19 09:22:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 09:22:21 +0200 |
commit | fe9ec057f3cba2f8428ad666ad557d2f77188268 (patch) | |
tree | a4b4f4b8567e59f8b0558f2de8786af820cd0c54 /examples | |
parent | 9e824cfb0eb36b4d23ab73171b821b1a74ec659c (diff) | |
parent | d7b90fc841694f126ec63500ea8f74330c4672eb (diff) | |
download | oauthlib-fe9ec057f3cba2f8428ad666ad557d2f77188268.tar.gz |
Merge branch 'master' into release-3.0.2release-3.0.2
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): |