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

Response of email signIn.

Attributes

  • email (type: String.t, default: nil) - The user's email.
  • expiresIn (type: String.t, default: nil) - Expiration time of STS id token in seconds.
  • idToken (type: String.t, default: nil) - The STS id token to login the newly signed in user.
  • isNewUser (type: boolean(), default: nil) - Whether the user is new.
  • kind (type: String.t, default: identitytoolkit#EmailLinkSigninResponse) - The fixed string "identitytoolkit#EmailLinkSigninResponse".
  • localId (type: String.t, default: nil) - The RP local ID of the user.
  • refreshToken (type: String.t, default: nil) - The refresh token for the signed in user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IdentityToolkit.V3.Model.EmailLinkSigninResponse{
  email: String.t() | nil,
  expiresIn: String.t() | nil,
  idToken: String.t() | nil,
  isNewUser: boolean() | nil,
  kind: String.t() | nil,
  localId: String.t() | nil,
  refreshToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.