arxiv.users.auth.exceptions module¶
Authn/z-related exceptions raised by components in this module.
-
exception
arxiv.users.auth.exceptions.
ConfigurationError
[source]¶ Bases:
RuntimeError
The application is not configured correctly.
-
exception
arxiv.users.auth.exceptions.
ExpiredToken
[source]¶ Bases:
RuntimeError
An expired token was passed.
-
exception
arxiv.users.auth.exceptions.
InvalidToken
[source]¶ Bases:
ValueError
Token in request is not valid.
-
exception
arxiv.users.auth.exceptions.
MissingToken
[source]¶ Bases:
ValueError
No token found in request.
-
exception
arxiv.users.auth.exceptions.
SessionCreationFailed
[source]¶ Bases:
RuntimeError
Failed to create a session in the session store.
-
exception
arxiv.users.auth.exceptions.
SessionDeletionFailed
[source]¶ Bases:
RuntimeError
Failed to delete a session in the session store.
-
exception
arxiv.users.auth.exceptions.
UnknownSession
[source]¶ Bases:
RuntimeError
Failed to locate a session in the session store.