OAuthBearerError#

exception gafaelfawr.exceptions.OAuthBearerError#

An error that can be returned as a WWW-Authenticate challenge.

Represents the subset of OAuth 2.0 errors defined in RFC 6750 as valid errors to return in a WWW-Authenticate header. The string form of this exception is suitable for use as the error_description attribute of a WWW-Authenticate header.