google_api_identity_toolkit v0.2.0 GoogleApi.IdentityToolkit.V3.Model.UserInfo View Source

Template for an individual account info.

Attributes

  • createdAt (type: String.t, default: nil) - User creation timestamp.
  • customAttributes (type: String.t, default: nil) - The custom attributes to be set in the user's id token.
  • customAuth (type: boolean(), default: nil) - Whether the user is authenticated by the developer.
  • disabled (type: boolean(), default: nil) - Whether the user is disabled.
  • displayName (type: String.t, default: nil) - The name of the user.
  • email (type: String.t, default: nil) - The email of the user.
  • emailVerified (type: boolean(), default: nil) - Whether the email has been verified.
  • lastLoginAt (type: String.t, default: nil) - last login timestamp.
  • localId (type: String.t, default: nil) - The local ID of the user.
  • passwordHash (type: String.t, default: nil) - The user's hashed password.
  • passwordUpdatedAt (type: float(), default: nil) - The timestamp when the password was last updated.
  • phoneNumber (type: String.t, default: nil) - User's phone number.
  • photoUrl (type: String.t, default: nil) - The URL of the user profile photo.
  • providerUserInfo (type: list(GoogleApi.IdentityToolkit.V3.Model.UserInfoProviderUserInfo.t), default: nil) - The IDP of the user.
  • rawPassword (type: String.t, default: nil) - The user's plain text password.
  • salt (type: String.t, default: nil) - The user's password salt.
  • screenName (type: String.t, default: nil) - User's screen name at Twitter or login name at Github.
  • validSince (type: String.t, default: nil) - Timestamp in seconds for valid login token.
  • version (type: integer(), default: nil) - Version of the user's password.

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.IdentityToolkit.V3.Model.UserInfo{
  createdAt: String.t(),
  customAttributes: String.t(),
  customAuth: boolean(),
  disabled: boolean(),
  displayName: String.t(),
  email: String.t(),
  emailVerified: boolean(),
  lastLoginAt: String.t(),
  localId: String.t(),
  passwordHash: String.t(),
  passwordUpdatedAt: float(),
  phoneNumber: String.t(),
  photoUrl: String.t(),
  providerUserInfo: [
    GoogleApi.IdentityToolkit.V3.Model.UserInfoProviderUserInfo.t()
  ],
  rawPassword: String.t(),
  salt: String.t(),
  screenName: String.t(),
  validSince: String.t(),
  version: integer()
}

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.