Struct openidconnect::IdTokenClaims[][src]

pub struct IdTokenClaims<AC, GC> where
    AC: AdditionalClaims,
    GC: GenderClaim
{ /* fields omitted */ }
Expand description

OpenID Connect ID token claims.

Implementations

Initializes new ID token claims.

Returns the iss claim.

Sets the iss claim.

Returns the aud claim.

Sets the aud claim.

Returns the exp claim.

Sets the exp claim.

Returns the iat claim.

Sets the iat claim.

Returns the auth_time claim.

Sets the auth_time claim.

Returns the nonce claim.

Sets the nonce claim.

Returns the acr claim.

Sets the acr claim.

Returns the amr claim.

Sets the amr claim.

Returns the azp claim.

Sets the azp claim.

Returns the at_hash claim.

Sets the at_hash claim.

Returns the c_hash claim.

Sets the c_hash claim.

Returns the sub claim.

Sets the sub claim.

Returns the name claim.

Sets the name claim.

Returns the given_name claim.

Sets the given_name claim.

Returns the family_name claim.

Sets the family_name claim.

Returns the middle_name claim.

Sets the middle_name claim.

Returns the nickname claim.

Sets the nickname claim.

Returns the preferred_username claim.

Sets the preferred_username claim.

Returns the profile claim.

Sets the profile claim.

Returns the picture claim.

Sets the picture claim.

Returns the website claim.

Sets the website claim.

Returns the email claim.

Sets the email claim.

Returns the email_verified claim.

Sets the email_verified claim.

Returns the gender claim.

Sets the gender claim.

Returns the birthday claim.

Sets the birthday claim.

Returns the zoneinfo claim.

Sets the zoneinfo claim.

Returns the locale claim.

Sets the locale claim.

Returns the phone_number claim.

Sets the phone_number claim.

Returns the phone_number_verified claim.

Sets the phone_number_verified claim.

Returns the address claim.

Sets the address claim.

Returns the updated_at claim.

Sets the updated_at claim.

Returns additional ID token claims.

Returns mutable additional ID token claims.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.