class Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse

Response from verifying a custom token

Attributes

expires_in[RW]

If idToken is STS id token, then this field will be expiration time of STS id token in seconds. Corresponds to the JSON property `expiresIn` @return [String]

id_token[RW]

The GITKit token for authenticated user. Corresponds to the JSON property `idToken` @return [String]

kind[RW]

The fixed string “identitytoolkit#VerifyCustomTokenResponse”. Corresponds to the JSON property `kind` @return [String]

refresh_token[RW]

If idToken is STS id token, then this field will be refresh token. Corresponds to the JSON property `refreshToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1890
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1895
def update!(**args)
  @expires_in = args[:expires_in] if args.key?(:expires_in)
  @id_token = args[:id_token] if args.key?(:id_token)
  @kind = args[:kind] if args.key?(:kind)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end