google_api_o_auth2 v0.9.0 API Reference
Modules
API calls for all endpoints tagged Userinfo
.
Handle Tesla connections for GoogleApi.OAuth2.V2.
Attributes
access_type
(type:String.t
, default:nil
) - The access type granted with this token. It can be offline or online.audience
(type:String.t
, default:nil
) - Who is the intended audience for this token. In general the same as issued_to.email
(type:String.t
, default:nil
) - The email address of the user. Present only if the email scope is present in the request.expires_in
(type:integer()
, default:nil
) - The expiry time of the token, as number of seconds left until expiry.issued_to
(type:String.t
, default:nil
) - To whom was the token issued to. In general the same as audience.scope
(type:String.t
, default:nil
) - The space separated list of scopes granted to this token.token_handle
(type:String.t
, default:nil
) - The token handle associated with this token.user_id
(type:String.t
, default:nil
) - The obfuscated user id.verified_email
(type:boolean()
, default:nil
) - Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.
Attributes
email
(type:String.t
, default:nil
) - The user's email address.family_name
(type:String.t
, default:nil
) - The user's last name.gender
(type:String.t
, default:nil
) - The user's gender.given_name
(type:String.t
, default:nil
) - The user's first name.hd
(type:String.t
, default:nil
) - The hosted domain e.g. example.com if the user is Google apps user.id
(type:String.t
, default:nil
) - The obfuscated ID of the user.link
(type:String.t
, default:nil
) - URL of the profile page.locale
(type:String.t
, default:nil
) - The user's preferred locale.name
(type:String.t
, default:nil
) - The user's full name.picture
(type:String.t
, default:nil
) - URL of the user's picture image.verified_email
(type:boolean()
, default:true
) - Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.