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.
2157 2158 2159 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2157 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
2150 2151 2152 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2150 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
2155 2156 2157 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2155 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2162 2163 2164 2165 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2162 def update!(**args) @id_token = args[:id_token] if args.key?(:id_token) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |