Enum openidconnect::core::CoreAuthErrorResponseType [−][src]
pub enum CoreAuthErrorResponseType {
Show 17 variants
AccessDenied,
AccountSelectionRequired,
ConsentRequired,
InteractionRequired,
InvalidRequest,
InvalidRequestObject,
InvalidRequestUri,
InvalidScope,
LoginRequired,
RegistrationNotSupported,
RequestNotSupported,
RequestUriNotSupported,
ServerError,
TemporarilyUnavailable,
UnauthorizedClient,
UnsupportedResponseType,
Extension(String),
}
Expand description
OpenID Connect Core authentication error response types.
This type represents errors returned in a redirect from the Authorization Endpoint to the client’s redirect URI.
These values are defined across both Section 4.1.2.1 of RFC 6749 and Section 3.1.2.6 of the OpenID Connect Core spec.
Variants
AccessDenied
The resource owner or authorization server denied the request.
AccountSelectionRequired
The End-User is REQUIRED to select a session at the Authorization Server. The End-User MAY
be authenticated at the Authorization Server with different associated accounts, but the
End-User did not select a session. This error MAY be returned when the prompt
parameter
value in the Authentication Request is none
, but the Authentication Request cannot be
completed without displaying a user interface to prompt for a session to use.
ConsentRequired
The Authorization Server requires End-User consent. This error MAY be returned when the
prompt
parameter value in the Authentication Request is none
, but the Authentication
Request cannot be completed without displaying a user interface for End-User consent.
InteractionRequired
The Authorization Server requires End-User interaction of some form to proceed. This error
MAY be returned when the prompt
parameter value in the Authentication Request is none
,
but the Authentication Request cannot be completed without displaying a user interface for
End-User interaction.
InvalidRequest
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.
InvalidRequestObject
The request
parameter contains an invalid Request Object.
InvalidRequestUri
The request_uri
in the Authorization Request returns an error or contains invalid data.
InvalidScope
The requested scope is invalid, unknown, or malformed.
LoginRequired
The Authorization Server requires End-User authentication. This error MAY be returned when
the prompt
parameter value in the Authentication Request is none
, but the Authentication
Request cannot be completed without displaying a user interface for End-User authentication.
RegistrationNotSupported
The OpenID Connect Provider does not support use of the registration
parameter.
RequestNotSupported
The OpenID Connect Provider does not support use of the request
parameter.
RequestUriNotSupported
The OpenID Connect Provider does not support use of the request_uri
parameter.
ServerError
The authorization server encountered an unexpected condition that prevented it from fulfilling the request. (This error code is needed because a 500 Internal Server Error HTTP status code cannot be returned to the client via an HTTP redirect.)
TemporarilyUnavailable
The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server. (This error code is needed because a 503 Service Unavailable HTTP status code cannot be returned to the client via an HTTP redirect.)
UnauthorizedClient
The client is not authorized to request an authorization code using this method.
UnsupportedResponseType
The authorization server does not support obtaining an authorization code using this method.
Extension(String)
Tuple Fields
0: String
An extension not defined by any of the supported specifications.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CoreAuthErrorResponseType
impl Send for CoreAuthErrorResponseType
impl Sync for CoreAuthErrorResponseType
impl Unpin for CoreAuthErrorResponseType
impl UnwindSafe for CoreAuthErrorResponseType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more