diff options
Diffstat (limited to 'oauthlib/oauth1/__init__.py')
-rw-r--r-- | oauthlib/oauth1/__init__.py | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/oauthlib/oauth1/__init__.py b/oauthlib/oauth1/__init__.py index 224fecf..07ef422 100644 --- a/oauthlib/oauth1/__init__.py +++ b/oauthlib/oauth1/__init__.py @@ -5,17 +5,24 @@ oauthlib.oauth1 This module is a wrapper for the most recent implementation of OAuth 1.0 Client and Server classes. """ -from .rfc5849 import ( - SIGNATURE_HMAC, SIGNATURE_HMAC_SHA1, SIGNATURE_HMAC_SHA256, - SIGNATURE_PLAINTEXT, SIGNATURE_RSA, SIGNATURE_TYPE_AUTH_HEADER, - SIGNATURE_TYPE_BODY, SIGNATURE_TYPE_QUERY, Client, -) -from .rfc5849.endpoints import ( - AccessTokenEndpoint, AuthorizationEndpoint, RequestTokenEndpoint, - ResourceEndpoint, SignatureOnlyEndpoint, WebApplicationServer, -) -from .rfc5849.errors import ( - InsecureTransportError, InvalidClientError, InvalidRequestError, - InvalidSignatureMethodError, OAuth1Error, -) +from .rfc5849 import Client +from .rfc5849 import (SIGNATURE_HMAC, + SIGNATURE_HMAC_SHA1, + SIGNATURE_HMAC_SHA256, + SIGNATURE_HMAC_SHA512, + SIGNATURE_RSA, + SIGNATURE_RSA_SHA1, + SIGNATURE_RSA_SHA256, + SIGNATURE_RSA_SHA512, + SIGNATURE_PLAINTEXT) +from .rfc5849 import SIGNATURE_TYPE_AUTH_HEADER, SIGNATURE_TYPE_QUERY +from .rfc5849 import SIGNATURE_TYPE_BODY from .rfc5849.request_validator import RequestValidator +from .rfc5849.endpoints import RequestTokenEndpoint, AuthorizationEndpoint +from .rfc5849.endpoints import AccessTokenEndpoint, ResourceEndpoint +from .rfc5849.endpoints import SignatureOnlyEndpoint, WebApplicationServer +from .rfc5849.errors import (InsecureTransportError, + InvalidClientError, + InvalidRequestError, + InvalidSignatureMethodError, + OAuth1Error) |