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.



2886
2887
2888
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2886

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)


2879
2880
2881
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2879

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)


2884
2885
2886
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2884

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2891
2892
2893
2894
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2891

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