request_token.MaskinportenTokenError
Raised when Maskinporten rejects a token request.
Usage
request_token.MaskinportenTokenError(
message, *, status=None, code=None, description=None
)Attributes
status-
The HTTP status code, or None if no response was received.
code-
The OAuth
errorcode, e.g. “invalid_scope”, if Maskinporten sent one. description-
The OAuth
error_description, or the raw response body when it isn’t an OAuth error, if there was one.