sanic_jwt_extended.exceptions module¶
-
exception
sanic_jwt_extended.exceptions.ConfigurationConflictError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionError raised when trying to use allow and deny option together in jwt_required
-
exception
sanic_jwt_extended.exceptions.FreshTokenRequired[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionError raised when a valid, non-fresh JWT attempt to access an endpoint protected by fresh_jwt_required
-
exception
sanic_jwt_extended.exceptions.InvalidHeaderError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionAn error getting header information from a request
-
exception
sanic_jwt_extended.exceptions.JWTDecodeError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionAn error decoding a JWT
-
exception
sanic_jwt_extended.exceptions.JWTExtendedException[source]¶ Bases:
ExceptionBase except which all sanic_jwt_extended errors extend
-
exception
sanic_jwt_extended.exceptions.NoAuthorizationError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionAn error raised when no authorization token was found in a protected endpoint
-
exception
sanic_jwt_extended.exceptions.RevokedTokenError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionError raised when a revoked token attempt to access a protected endpoint
-
exception
sanic_jwt_extended.exceptions.WrongTokenError[source]¶ Bases:
sanic_jwt_extended.exceptions.JWTExtendedExceptionError raised when attempting to use a refresh token to access an endpoint or vice versa