[−][src]Enum openidconnect::AuthenticationFlow
Authentication flow, which determines how the Authorization Server returns the OpenID Connect ID token and OAuth2 access token to the Relying Party.
Variants
AuthorizationCode
Authorization Code Flow.
The authorization server will return an OAuth2 authorization code. Clients must subsequently
call Client::exchange_code()
with the authorization code in order to retrieve an
OpenID Connect ID token and OAuth2 access token.
Implicit(bool)
Implicit Flow.
Boolean value indicates whether an OAuth2 access token should also be returned. If true
,
the Authorization Server will return both an OAuth2 access token and OpenID Connect ID
token. If false
, it will return only an OpenID Connect ID token.
Hybrid(Vec<RT>)
Hybrid Flow.
A hybrid flow according to OAuth 2.0 Multiple Response Type Encoding Practices. The enum value
contains the desired response_type
s. See
Section 3 for
details.
Trait Implementations
impl<RT: Clone + ResponseType> Clone for AuthenticationFlow<RT>
[src]
fn clone(&self) -> AuthenticationFlow<RT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<RT: PartialEq + ResponseType> PartialEq<AuthenticationFlow<RT>> for AuthenticationFlow<RT>
[src]
fn eq(&self, other: &AuthenticationFlow<RT>) -> bool
[src]
fn ne(&self, other: &AuthenticationFlow<RT>) -> bool
[src]
impl<RT: Debug + ResponseType> Debug for AuthenticationFlow<RT>
[src]
Auto Trait Implementations
impl<RT> Unpin for AuthenticationFlow<RT> where
RT: Unpin,
RT: Unpin,
impl<RT> Sync for AuthenticationFlow<RT> where
RT: Sync,
RT: Sync,
impl<RT> Send for AuthenticationFlow<RT> where
RT: Send,
RT: Send,
impl<RT> UnwindSafe for AuthenticationFlow<RT> where
RT: UnwindSafe,
RT: UnwindSafe,
impl<RT> RefUnwindSafe for AuthenticationFlow<RT> where
RT: RefUnwindSafe,
RT: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,