View Source GoogleApi.IdentityToolkit.V3.Model.SetAccountInfoResponse (google_api_identity_toolkit v0.8.0)

Respone of setting the account information.

Attributes

  • 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) - If email has been verified.
  • expiresIn (type: String.t, default: nil) - If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
  • idToken (type: String.t, default: nil) - The Gitkit id token to login the newly sign up user.
  • kind (type: String.t, default: identitytoolkit#SetAccountInfoResponse) - The fixed string "identitytoolkit#SetAccountInfoResponse".
  • localId (type: String.t, default: nil) - The local ID of the user.
  • newEmail (type: String.t, default: nil) - The new email the user attempts to change to.
  • passwordHash (type: String.t, default: nil) - The user's hashed password.
  • photoUrl (type: String.t, default: nil) - The photo url of the user.
  • providerUserInfo (type: list(GoogleApi.IdentityToolkit.V3.Model.SetAccountInfoResponseProviderUserInfo.t), default: nil) - The user's profiles at the associated IdPs.
  • refreshToken (type: String.t, default: nil) - If idToken is STS id token, then this field will be refresh token.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IdentityToolkit.V3.Model.SetAccountInfoResponse{
  displayName: String.t() | nil,
  email: String.t() | nil,
  emailVerified: boolean() | nil,
  expiresIn: String.t() | nil,
  idToken: String.t() | nil,
  kind: String.t() | nil,
  localId: String.t() | nil,
  newEmail: String.t() | nil,
  passwordHash: String.t() | nil,
  photoUrl: String.t() | nil,
  providerUserInfo:
    [
      GoogleApi.IdentityToolkit.V3.Model.SetAccountInfoResponseProviderUserInfo.t()
    ]
    | nil,
  refreshToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.