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

Attributes

  • 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.
  • 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.

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{
  audience: String.t(),
  email: String.t(),
  expires_in: integer(),
  issued_to: String.t(),
  scope: String.t(),
  user_id: String.t(),
  verified_email: boolean()
}

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.