diff options
author | Omer Katz <omer.drow@gmail.com> | 2018-12-17 16:59:52 +0200 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2018-12-17 17:01:06 +0200 |
commit | c5de837837d3b69edb6bb8bcfe1741047b992760 (patch) | |
tree | da5eef0898264bc8f410b585ea9219cdefef4704 | |
parent | c99b9c34f4736050da497aa14de93168d767e501 (diff) | |
download | oauthlib-c5de837837d3b69edb6bb8bcfe1741047b992760.tar.gz |
Fix typo.
-rw-r--r-- | oauthlib/oauth2/rfc6749/endpoints/base.py | 2 | ||||
-rw-r--r-- | oauthlib/oauth2/rfc6749/endpoints/introspect.py | 2 | ||||
-rw-r--r-- | oauthlib/oauth2/rfc6749/endpoints/revocation.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/oauthlib/oauth2/rfc6749/endpoints/base.py b/oauthlib/oauth2/rfc6749/endpoints/base.py index 3fd45c3..c0fc726 100644 --- a/oauthlib/oauth2/rfc6749/endpoints/base.py +++ b/oauthlib/oauth2/rfc6749/endpoints/base.py @@ -55,7 +55,7 @@ class BaseEndpoint(object): log.debug('Client authentication failed, %r.', request) raise InvalidClientError(request=request) - def _raise_on_unspported_token(self, request): + def _raise_on_unsupported_token(self, request): """Raise on unsupported tokens.""" if (request.token_type_hint and request.token_type_hint in self.valid_token_types and diff --git a/oauthlib/oauth2/rfc6749/endpoints/introspect.py b/oauthlib/oauth2/rfc6749/endpoints/introspect.py index b10a845..ff7a32d 100644 --- a/oauthlib/oauth2/rfc6749/endpoints/introspect.py +++ b/oauthlib/oauth2/rfc6749/endpoints/introspect.py @@ -119,4 +119,4 @@ class IntrospectEndpoint(BaseEndpoint): """ self._raise_on_missing_token(request) self._raise_on_invalid_client(request) - self._raise_on_unspported_token(request) + self._raise_on_unsupported_token(request) diff --git a/oauthlib/oauth2/rfc6749/endpoints/revocation.py b/oauthlib/oauth2/rfc6749/endpoints/revocation.py index 00da64a..4cd96a7 100644 --- a/oauthlib/oauth2/rfc6749/endpoints/revocation.py +++ b/oauthlib/oauth2/rfc6749/endpoints/revocation.py @@ -123,4 +123,4 @@ class RevocationEndpoint(BaseEndpoint): """ self._raise_on_missing_token(request) self._raise_on_invalid_client(request) - self._raise_on_unspported_token(request) + self._raise_on_unsupported_token(request) |