Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2WithdrawMfaResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Withdraws MultiFactorAuth response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2WithdrawMfaResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2WithdrawMfaResponse.



2210
2211
2212
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2210

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#id_tokenString

ID token updated to reflect removal of the second factor. Corresponds to the JSON property idToken

Returns:

  • (String)


2203
2204
2205
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2203

def id_token
  @id_token
end

#refresh_tokenString

Refresh token updated to reflect removal of the second factor. Corresponds to the JSON property refreshToken

Returns:

  • (String)


2208
2209
2210
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2208

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2215
2216
2217
2218
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2215

def update!(**args)
  @id_token = args[:id_token] if args.key?(:id_token)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end