[−][src]Enum openidconnect::core::CoreAuthPrompt
Whether the Authorization Server should prompt the End-User for reauthentication 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
.
Trait Implementations
impl AuthPrompt for CoreAuthPrompt
[src]
impl AsRef<str> for CoreAuthPrompt
[src]
impl PartialEq<CoreAuthPrompt> for CoreAuthPrompt
[src]
fn eq(&self, other: &CoreAuthPrompt) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Display for CoreAuthPrompt
[src]
Auto Trait Implementations
impl Send for CoreAuthPrompt
impl Sync for CoreAuthPrompt
impl Unpin for CoreAuthPrompt
impl UnwindSafe for CoreAuthPrompt
impl RefUnwindSafe for CoreAuthPrompt
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,