[][src]Trait openidconnect::TokenResponse

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
{ fn id_token(&self) -> &IdToken<AC, GC, JE, JS, JT>; }

Extends the base OAuth2 token response with an ID token.

Required methods

fn id_token(&self) -> &IdToken<AC, GC, JE, JS, JT>

Returns the ID token provided by the token response.

Loading content...

Implementors

impl<AC, EF, GC, JE, JS, JT, TT> TokenResponse<AC, GC, JE, JS, JT, TT> for StandardTokenResponse<IdTokenFields<AC, EF, GC, JE, JS, JT>, TT> where
    AC: AdditionalClaims,
    EF: ExtraTokenFields,
    GC: GenderClaim,
    JE: JweContentEncryptionAlgorithm<JT>,
    JS: JwsSigningAlgorithm<JT>,
    JT: JsonWebKeyType,
    TT: TokenType
[src]

Loading content...