google_api_identity_toolkit v0.5.0 GoogleApi.IdentityToolkit.V3.Model.VerifyCustomTokenResponse View Source

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.IdentityToolkit.V3.Model.VerifyCustomTokenResponse{
  expiresIn: String.t(),
  idToken: String.t(),
  isNewUser: boolean(),
  kind: String.t(),
  refreshToken: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.