flask_graphql_auth.exceptions module

exception flask_graphql_auth.exceptions.JWTDecodeError[source]

Bases: flask_graphql_auth.exceptions.JWTExtendedException

An error decoding a JWT

exception flask_graphql_auth.exceptions.JWTExtendedException[source]

Bases: Exception

Base except which all flask_graphql_auth errors extend

exception flask_graphql_auth.exceptions.NoAuthorizationError[source]

Bases: flask_graphql_auth.exceptions.JWTExtendedException

An error raised when no authorization token was found in a protected endpoint

exception flask_graphql_auth.exceptions.RevokedTokenError[source]

Bases: flask_graphql_auth.exceptions.JWTExtendedException

Error raised when a revoked token attempt to access a protected endpoint

exception flask_graphql_auth.exceptions.WrongTokenError[source]

Bases: flask_graphql_auth.exceptions.JWTExtendedException

Error raised when attempting to use a refresh token to access an endpoint or vice versa