Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2WithdrawMfaResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2WithdrawMfaResponse
- 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
-
#id_token ⇒ String
ID token updated to reflect removal of the second factor.
-
#refresh_token ⇒ String
Refresh token updated to reflect removal of the second factor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2WithdrawMfaResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV2WithdrawMfaResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_token ⇒ String
ID token updated to reflect removal of the second factor.
Corresponds to the JSON property idToken
2879 2880 2881 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2879 def id_token @id_token end |
#refresh_token ⇒ String
Refresh token updated to reflect removal of the second factor.
Corresponds to the JSON property refreshToken
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 |