diff options
author | Frederick Muriuki Muriithi | 2024-08-05 12:13:10 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-08-05 12:13:10 -0500 |
commit | eb05221f57ec4b6a5537ac7661811ba33b4b0385 (patch) | |
tree | d28559c167bb96840480429dc69b710095bbf7c2 /gn_auth/auth/authentication/oauth2/server.py | |
parent | 368c8be255050a49857209c8f8af9889ed629c0e (diff) | |
download | gn-auth-eb05221f57ec4b6a5537ac7661811ba33b4b0385.tar.gz |
Fix linting errors.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2/server.py')
-rw-r--r-- | gn_auth/auth/authentication/oauth2/server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_auth/auth/authentication/oauth2/server.py b/gn_auth/auth/authentication/oauth2/server.py index 175b640..ba5abe8 100644 --- a/gn_auth/auth/authentication/oauth2/server.py +++ b/gn_auth/auth/authentication/oauth2/server.py @@ -138,8 +138,10 @@ def make_jwt_token_generator(app): class JsonAuthorizationServer(AuthorizationServer): + """An authorisation server using JSON rather than FORMDATA.""" def create_oauth2_request(self, request): + """Create an OAuth2 Request from the flask request.""" res = create_oauth_request(request, OAuth2Request, True) return res |