diff options
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types')
6 files changed, 10 insertions, 10 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py index 59366b1..8ebae49 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py +++ b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py @@ -142,7 +142,7 @@ class AuthorizationCodeGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. :returns: headers, body, status :raises: FatalClientError on invalid redirect URI or client id. @@ -229,7 +229,7 @@ class AuthorizationCodeGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. """ diff --git a/oauthlib/oauth2/rfc6749/grant_types/base.py b/oauthlib/oauth2/rfc6749/grant_types/base.py index 4d9381c..43f9db4 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/base.py +++ b/oauthlib/oauth2/rfc6749/grant_types/base.py @@ -120,7 +120,7 @@ class GrantTypeBase(object): """ :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. """ raise NotImplementedError('Subclasses must implement this method.') @@ -129,7 +129,7 @@ class GrantTypeBase(object): """ :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. """ raise NotImplementedError('Subclasses must implement this method.') @@ -137,7 +137,7 @@ class GrantTypeBase(object): def add_token(self, token, token_handler, request): """ :param token: - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. :param request: OAuthlib request. :type request: oauthlib.common.Request diff --git a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py index 884363f..7d4f74c 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py +++ b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py @@ -55,7 +55,7 @@ class ClientCredentialsGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. If the access token request is valid and authorized, the diff --git a/oauthlib/oauth2/rfc6749/grant_types/implicit.py b/oauthlib/oauth2/rfc6749/grant_types/implicit.py index 600c0a5..b29953b 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/implicit.py +++ b/oauthlib/oauth2/rfc6749/grant_types/implicit.py @@ -124,7 +124,7 @@ class ImplicitGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. The client constructs the request URI by adding the following @@ -171,7 +171,7 @@ class ImplicitGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. If the resource owner grants the access request, the authorization diff --git a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py index 55ddbb2..5f7382a 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py +++ b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py @@ -35,7 +35,7 @@ class RefreshTokenGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. If valid and authorized, the authorization server issues an access diff --git a/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py b/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py index 25fb1f1..87e8015 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py +++ b/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py @@ -75,7 +75,7 @@ class ResourceOwnerPasswordCredentialsGrant(GrantTypeBase): :param request: OAuthlib request. :type request: oauthlib.common.Request - :param token_handler: A token handler instace, for example of type + :param token_handler: A token handler instance, for example of type oauthlib.oauth2.BearerToken. If the access token request is valid and authorized, the |