????

Your IP : 216.73.216.228


Current Path : C:/opt/pgsql/pgAdmin 4/python/Lib/site-packages/authlib/integrations/base_client/
Upload File :
Current File : C:/opt/pgsql/pgAdmin 4/python/Lib/site-packages/authlib/integrations/base_client/errors.py

from authlib.common.errors import AuthlibBaseError


class OAuthError(AuthlibBaseError):
    error = 'oauth_error'


class MissingRequestTokenError(OAuthError):
    error = 'missing_request_token'


class MissingTokenError(OAuthError):
    error = 'missing_token'


class TokenExpiredError(OAuthError):
    error = 'token_expired'


class InvalidTokenError(OAuthError):
    error = 'token_invalid'


class UnsupportedTokenTypeError(OAuthError):
    error = 'unsupported_token_type'


class MismatchingStateError(OAuthError):
    error = 'mismatching_state'
    description = 'CSRF Warning! State not equal in request and response.'