Enum openidconnect::core::CoreAuthPrompt [−][src]
pub enum CoreAuthPrompt { None, Login, Consent, SelectAccount, Extension(String), }
Expand description
Whether the Authorization Server should prompt the End-User for re-authentication and consent.
These values are defined in Section 3.1.2.1.
Variants
The Authorization Server MUST NOT display any authentication or consent user interface
pages. An error is returned if an End-User is not already authenticated or the Client
does not have pre-configured consent for the requested Claims or does not fulfill other
conditions for processing the request. The error code will typically be
login_required,
interaction_required
, or another code defined in
Section 3.1.2.6.
This can be used as a method to check for existing authentication and/or consent.
The Authorization Server SHOULD prompt the End-User for reauthentication. If it cannot
reauthenticate the End-User, it MUST return an error, typically login_required
.
The Authorization Server SHOULD prompt the End-User for consent before returning
information to the Client. If it cannot obtain consent, it MUST return an error,
typically consent_required
.
The Authorization Server SHOULD prompt the End-User to select a user account. This
enables an End-User who has multiple accounts at the Authorization Server to select
amongst the multiple accounts that they might have current sessions for. If it cannot
obtain an account selection choice made by the End-User, it MUST return an error,
typically account_selection_required
.
Extension(String)
An extension not defined by the OpenID Connect Core spec.
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 CoreAuthPrompt
impl Send for CoreAuthPrompt
impl Sync for CoreAuthPrompt
impl Unpin for CoreAuthPrompt
impl UnwindSafe for CoreAuthPrompt
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V