google_api_o_auth2 v0.2.0 GoogleApi.OAuth2.V2.Model.Tokeninfo View Source

Attributes

  • access_type (String.t): The access type granted with this token. It can be offline or online. Defaults to: null.
  • audience (String.t): Who is the intended audience for this token. In general the same as issued_to. Defaults to: null.
  • email (String.t): The email address of the user. Present only if the email scope is present in the request. Defaults to: null.
  • expires_in (integer()): The expiry time of the token, as number of seconds left until expiry. Defaults to: null.
  • issued_to (String.t): To whom was the token issued to. In general the same as audience. Defaults to: null.
  • scope (String.t): The space separated list of scopes granted to this token. Defaults to: null.
  • token_handle (String.t): The token handle associated with this token. Defaults to: null.
  • user_id (String.t): The obfuscated user id. Defaults to: null.
  • verified_email (boolean()): Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.OAuth2.V2.Model.Tokeninfo{
  access_type: any(),
  audience: any(),
  email: any(),
  expires_in: any(),
  issued_to: any(),
  scope: any(),
  token_handle: any(),
  user_id: any(),
  verified_email: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.