[][src]Struct keycloak::types::AccessToken

pub struct AccessToken<'a> {
    pub acr: Option<Cow<'a, str>>,
    pub address: Option<AddressClaimSet<'a>>,
    pub allowed_origins: Option<Vec<Cow<'a, str>>>,
    pub at_hash: Option<Cow<'a, str>>,
    pub auth_time: Option<i64>,
    pub authorization: Option<AccessTokenAuthorization<'a>>,
    pub azp: Option<Cow<'a, str>>,
    pub birthdate: Option<Cow<'a, str>>,
    pub c_hash: Option<Cow<'a, str>>,
    pub category: Option<AccessTokenCategory>,
    pub claims_locales: Option<Cow<'a, str>>,
    pub cnf: Option<AccessTokenCertConf<'a>>,
    pub email: Option<Cow<'a, str>>,
    pub email_verified: Option<bool>,
    pub exp: Option<i64>,
    pub family_name: Option<Cow<'a, str>>,
    pub gender: Option<Cow<'a, str>>,
    pub given_name: Option<Cow<'a, str>>,
    pub iat: Option<i64>,
    pub iss: Option<Cow<'a, str>>,
    pub jti: Option<Cow<'a, str>>,
    pub locale: Option<Cow<'a, str>>,
    pub middle_name: Option<Cow<'a, str>>,
    pub name: Option<Cow<'a, str>>,
    pub nbf: Option<i64>,
    pub nickname: Option<Cow<'a, str>>,
    pub nonce: Option<Cow<'a, str>>,
    pub other_claims: Option<HashMap<Cow<'a, str>, Value>>,
    pub phone_number: Option<Cow<'a, str>>,
    pub phone_number_verified: Option<bool>,
    pub picture: Option<Cow<'a, str>>,
    pub preferred_username: Option<Cow<'a, str>>,
    pub profile: Option<Cow<'a, str>>,
    pub realm_access: Option<AccessTokenAccess<'a>>,
    pub s_hash: Option<Cow<'a, str>>,
    pub scope: Option<Cow<'a, str>>,
    pub session_state: Option<Cow<'a, str>>,
    pub sub: Option<Cow<'a, str>>,
    pub trusted_certs: Option<Vec<Cow<'a, str>>>,
    pub typ: Option<Cow<'a, str>>,
    pub updated_at: Option<i64>,
    pub website: Option<Cow<'a, str>>,
    pub zoneinfo: Option<Cow<'a, str>>,
}

Fields

acr: Option<Cow<'a, str>>address: Option<AddressClaimSet<'a>>allowed_origins: Option<Vec<Cow<'a, str>>>at_hash: Option<Cow<'a, str>>auth_time: Option<i64>authorization: Option<AccessTokenAuthorization<'a>>azp: Option<Cow<'a, str>>birthdate: Option<Cow<'a, str>>c_hash: Option<Cow<'a, str>>category: Option<AccessTokenCategory>claims_locales: Option<Cow<'a, str>>cnf: Option<AccessTokenCertConf<'a>>email: Option<Cow<'a, str>>email_verified: Option<bool>exp: Option<i64>family_name: Option<Cow<'a, str>>gender: Option<Cow<'a, str>>given_name: Option<Cow<'a, str>>iat: Option<i64>iss: Option<Cow<'a, str>>jti: Option<Cow<'a, str>>locale: Option<Cow<'a, str>>middle_name: Option<Cow<'a, str>>name: Option<Cow<'a, str>>nbf: Option<i64>nickname: Option<Cow<'a, str>>nonce: Option<Cow<'a, str>>other_claims: Option<HashMap<Cow<'a, str>, Value>>phone_number: Option<Cow<'a, str>>phone_number_verified: Option<bool>picture: Option<Cow<'a, str>>preferred_username: Option<Cow<'a, str>>profile: Option<Cow<'a, str>>realm_access: Option<AccessTokenAccess<'a>>s_hash: Option<Cow<'a, str>>scope: Option<Cow<'a, str>>session_state: Option<Cow<'a, str>>sub: Option<Cow<'a, str>>trusted_certs: Option<Vec<Cow<'a, str>>>typ: Option<Cow<'a, str>>updated_at: Option<i64>website: Option<Cow<'a, str>>zoneinfo: Option<Cow<'a, str>>

Trait Implementations

impl<'a> Clone for AccessToken<'a>[src]

impl<'a> Debug for AccessToken<'a>[src]

impl<'a> Default for AccessToken<'a>[src]

impl<'de, 'a> Deserialize<'de> for AccessToken<'a>[src]

impl<'a> PartialEq<AccessToken<'a>> for AccessToken<'a>[src]

impl<'a> Serialize for AccessToken<'a>[src]

impl<'a> StructuralPartialEq for AccessToken<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AccessToken<'a>[src]

impl<'a> Send for AccessToken<'a>[src]

impl<'a> Sync for AccessToken<'a>[src]

impl<'a> Unpin for AccessToken<'a>[src]

impl<'a> UnwindSafe for AccessToken<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.