codekingpro/portable-devtools
114k
1"""2oauthlib.oauth23~~~~~~~~~~~~~~4 5This module is a wrapper for the most recent implementation of OAuth 2.0 Client6and Server classes.7"""8from .rfc6749.clients import (9 BackendApplicationClient, Client, LegacyApplicationClient,10 MobileApplicationClient, ServiceApplicationClient, WebApplicationClient,11)12from .rfc6749.endpoints import (13 AuthorizationEndpoint, BackendApplicationServer, IntrospectEndpoint,14 LegacyApplicationServer, MetadataEndpoint, MobileApplicationServer,15 ResourceEndpoint, RevocationEndpoint, Server, TokenEndpoint,16 WebApplicationServer,17)18from .rfc6749.errors import (19 AccessDeniedError, FatalClientError, InsecureTransportError,20 InvalidClientError, InvalidClientIdError, InvalidGrantError,21 InvalidRedirectURIError, InvalidRequestError, InvalidRequestFatalError,22 InvalidScopeError, MismatchingRedirectURIError, MismatchingStateError,23 MissingClientIdError, MissingCodeError, MissingRedirectURIError,24 MissingResponseTypeError, MissingTokenError, MissingTokenTypeError,25 OAuth2Error, ServerError, TemporarilyUnavailableError, TokenExpiredError,26 UnauthorizedClientError, UnsupportedGrantTypeError,27 UnsupportedResponseTypeError, UnsupportedTokenTypeError,28)29from .rfc6749.grant_types import (30 AuthorizationCodeGrant, ClientCredentialsGrant, ImplicitGrant,31 RefreshTokenGrant, ResourceOwnerPasswordCredentialsGrant,32)33from .rfc6749.request_validator import RequestValidator34from .rfc6749.tokens import BearerToken, OAuth2Token35from .rfc6749.utils import is_secure_transport36from .rfc8628.clients import DeviceClient37 