Struct openidconnect::IdTokenFields [−][src]
pub struct IdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType, { /* fields omitted */ }
Expand description
Extends the base OAuth2 token response with an ID token.
Implementations
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,
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,
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,
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,
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,
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,
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,
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,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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,
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,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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,
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,
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,
impl<AC, EF, GC, JE, JS, JT> StructuralPartialEq for IdTokenFields<AC, EF, GC, JE, JS, JT> where
AC: AdditionalClaims,
EF: ExtraTokenFields,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
Auto Trait Implementations
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,
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,
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,
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,
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,
Blanket Implementations
Mutably borrows from an owned value. Read more
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