google_api_o_auth2 v0.6.0 GoogleApi.OAuth2.V2.Model.Userinfoplus View Source

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.

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.Userinfoplus{
  email: String.t(),
  family_name: String.t(),
  gender: String.t(),
  given_name: String.t(),
  hd: String.t(),
  id: String.t(),
  link: String.t(),
  locale: String.t(),
  name: String.t(),
  picture: 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.