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.



2660
2661
2662
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2660

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)


2653
2654
2655
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2653

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)


2658
2659
2660
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2658

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2665
2666
2667
2668
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2665

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