View Source GoogleApi.IdentityToolkit.V3.Model.UserInfo (google_api_identity_toolkit v0.7.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IdentityToolkit.V3.Model.UserInfo{
  createdAt: String.t() | nil,
  customAttributes: String.t() | nil,
  customAuth: boolean() | nil,
  disabled: boolean() | nil,
  displayName: String.t() | nil,
  email: String.t() | nil,
  emailVerified: boolean() | nil,
  lastLoginAt: String.t() | nil,
  localId: String.t() | nil,
  passwordHash: String.t() | nil,
  passwordUpdatedAt: float() | nil,
  phoneNumber: String.t() | nil,
  photoUrl: String.t() | nil,
  providerUserInfo:
    [GoogleApi.IdentityToolkit.V3.Model.UserInfoProviderUserInfo.t()] | nil,
  rawPassword: String.t() | nil,
  salt: String.t() | nil,
  screenName: String.t() | nil,
  validSince: String.t() | nil,
  version: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.