Struct google_signin::IdInfo [] [src]

pub struct IdInfo {
    pub iss: String,
    pub sub: String,
    pub azp: String,
    pub aud: String,
    pub iat: String,
    pub exp: String,
    pub hd: Option<String>,
    pub email: Option<String>,
    pub email_verified: Option<String>,
    pub name: Option<String>,
    pub picture: Option<String>,
    pub given_name: Option<String>,
    pub family_name: Option<String>,
    pub locale: Option<String>,
}

Fields

These six fields are included in all Google ID Tokens.

This value indicates the user belongs to a Google Hosted Domain

These seven fields are only included when the user has granted the "profile" and "email" OAuth scopes to the application.

Methods

impl IdInfo
[src]

[src]

Trait Implementations

impl Debug for IdInfo
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for IdInfo

impl Sync for IdInfo