Trait openidconnect::TokenResponse
source · pub trait TokenResponse<AC, GC, JE, JS, JT, TT>: OAuth2TokenResponse<TT>where
AC: AdditionalClaims,
GC: GenderClaim,
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
TT: TokenType,{
// Required method
fn id_token(&self) -> Option<&IdToken<AC, GC, JE, JS, JT>>;
}
Expand description
Extends the base OAuth2 token response with an ID token.
Required Methods§
Object Safety§
This trait is not object safe.