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

Response from verifying a custom token

Attributes

  • 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 token for authenticated user.
  • isNewUser (type: boolean(), default: nil) - True if it's a new user sign-in, false if it's a returning user.
  • kind (type: String.t, default: identitytoolkit#VerifyCustomTokenResponse) - The fixed string "identitytoolkit#VerifyCustomTokenResponse".
  • 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.VerifyCustomTokenResponse{
  expiresIn: String.t() | nil,
  idToken: String.t() | nil,
  isNewUser: boolean() | nil,
  kind: String.t() | nil,
  refreshToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.