[][src]Trait openidconnect::RefreshTokenResponse

pub trait RefreshTokenResponse<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) -> Option<&IdToken<AC, GC, JE, JS, JT>>; }

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.

Required methods

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

Returns the optional ID token provided by the refresh token response.

Loading content...

Implementors

impl<AC, EF, GC, JE, JS, JT, TT> RefreshTokenResponse<AC, GC, JE, JS, JT, TT> for StandardTokenResponse<RefreshIdTokenFields<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...