[−][src]Struct openidconnect::IdTokenFields
Extends the base OAuth2 token response with an ID token.
Methods
impl<AC, EF, GC, JE, JS, JT> IdTokenFields<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: IdToken<AC, GC, JE, JS, JT>, extra_fields: EF) -> Self
[src]
Initializes new ID token fields containing the specified IdToken
and extra fields.
pub fn id_token(&self) -> &IdToken<AC, GC, JE, JS, JT>
[src]
Returns the IdToken
contained in the OAuth2 token response.
pub fn extra_fields(&self) -> &EF
[src]
Returns the extra fields contained in the OAuth2 token response.
Trait Implementations
impl<AC: Clone, EF: Clone, GC: Clone, JE: Clone, JS: Clone, JT: Clone> Clone for IdTokenFields<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) -> IdTokenFields<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<IdTokenFields<AC, EF, GC, JE, JS, JT>> for IdTokenFields<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: &IdTokenFields<AC, EF, GC, JE, JS, JT>) -> bool
[src]
fn ne(&self, other: &IdTokenFields<AC, EF, GC, JE, JS, JT>) -> bool
[src]
impl<AC: Debug, EF: Debug, GC: Debug, JE: Debug, JS: Debug, JT: Debug> Debug for IdTokenFields<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 IdTokenFields<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 IdTokenFields<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 IdTokenFields<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> Unpin for IdTokenFields<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> Sync for IdTokenFields<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> Send for IdTokenFields<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> UnwindSafe for IdTokenFields<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 IdTokenFields<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> 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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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>,