[−][src]Struct openidconnect::RefreshIdTokenFields
Extends the base OAuth2 token response with an optional ID token.
Unlike an initial token request, the ID token is an optional part of the response to a refresh token request.
Methods
impl<AC, EF, GC, JE, JS, JT> RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
pub fn new(
id_token: Option<IdToken<AC, GC, JE, JS, JT>>,
extra_fields: EF
) -> Self
[src]
id_token: Option<IdToken<AC, GC, JE, JS, JT>>,
extra_fields: EF
) -> Self
Initializes new ID token fields for use in an OAuth2 refresh request.
pub fn id_token(&self) -> Option<&IdToken<AC, GC, JE, JS, JT>>
[src]
Returns the IdToken
contained in the OAuth2 refresh token response.
pub fn extra_fields(&self) -> &EF
[src]
Returns the extra fields contained in the OAuth2 refresh token response.
Trait Implementations
impl<AC: Clone, EF: Clone, GC: Clone, JE: Clone, JS: Clone, JT: Clone> Clone for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
fn clone(&self) -> RefreshIdTokenFields<AC, EF, GC, JE, JS, JT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<AC: PartialEq, EF: PartialEq, GC: PartialEq, JE: PartialEq, JS: PartialEq, JT: PartialEq> PartialEq<RefreshIdTokenFields<AC, EF, GC, JE, JS, JT>> for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
fn eq(&self, other: &RefreshIdTokenFields<AC, EF, GC, JE, JS, JT>) -> bool
[src]
fn ne(&self, other: &RefreshIdTokenFields<AC, EF, GC, JE, JS, JT>) -> bool
[src]
impl<AC: Debug, EF: Debug, GC: Debug, JE: Debug, JS: Debug, JT: Debug> Debug for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
impl<AC, EF, GC, JE, JS, JT> Serialize for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
AC: AdditionalClaims,
EF: ExtraTokenFields,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
AC: AdditionalClaims,
EF: ExtraTokenFields,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, AC, EF, GC, JE, JS, JT> Deserialize<'de> for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
AC: AdditionalClaims,
EF: ExtraTokenFields,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
AC: AdditionalClaims,
EF: ExtraTokenFields,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<AC, EF, GC, JE, JS, JT> ExtraTokenFields for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
[src]
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
Auto Trait Implementations
impl<AC, EF, GC, JE, JS, JT> Send for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: Send,
EF: Send,
GC: Send,
JE: Send,
JS: Send,
JT: Send,
AC: Send,
EF: Send,
GC: Send,
JE: Send,
JS: Send,
JT: Send,
impl<AC, EF, GC, JE, JS, JT> Sync for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: Sync,
EF: Sync,
GC: Sync,
JE: Sync,
JS: Sync,
JT: Sync,
AC: Sync,
EF: Sync,
GC: Sync,
JE: Sync,
JS: Sync,
JT: Sync,
impl<AC, EF, GC, JE, JS, JT> Unpin for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: Unpin,
EF: Unpin,
GC: Unpin,
JE: Unpin,
JS: Unpin,
JT: Unpin,
AC: Unpin,
EF: Unpin,
GC: Unpin,
JE: Unpin,
JS: Unpin,
JT: Unpin,
impl<AC, EF, GC, JE, JS, JT> UnwindSafe for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: UnwindSafe,
EF: UnwindSafe,
GC: UnwindSafe,
JE: UnwindSafe,
JS: UnwindSafe,
JT: UnwindSafe,
AC: UnwindSafe,
EF: UnwindSafe,
GC: UnwindSafe,
JE: UnwindSafe,
JS: UnwindSafe,
JT: UnwindSafe,
impl<AC, EF, GC, JE, JS, JT> RefUnwindSafe for RefreshIdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: RefUnwindSafe,
EF: RefUnwindSafe,
GC: RefUnwindSafe,
JE: RefUnwindSafe,
JS: RefUnwindSafe,
JT: RefUnwindSafe,
AC: RefUnwindSafe,
EF: RefUnwindSafe,
GC: RefUnwindSafe,
JE: RefUnwindSafe,
JS: RefUnwindSafe,
JT: RefUnwindSafe,
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> 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> 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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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>,