summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/grant_types
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2018-09-11 14:34:21 -0400
committerjonathan vanasco <jonathan@2xlp.com>2018-09-11 14:34:21 -0400
commit0e963d8e55cabbd9b50fe2d6ec6659f01c1a2e00 (patch)
treef7f216abfd0f946d8cc09fc73460c61584513774 /oauthlib/oauth2/rfc6749/grant_types
parent5a9d8d92d3453355de86d614337affe69543207d (diff)
downloadoauthlib-0e963d8e55cabbd9b50fe2d6ec6659f01c1a2e00.tar.gz
cleanup on docs fixes
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types')
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/authorization_code.py4
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/base.py6
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/client_credentials.py2
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/implicit.py4
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/refresh_token.py2
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py2
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