Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse
- 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
FinalizeMfaEnrollment response.
Instance Attribute Summary collapse
-
#id_token ⇒ String
ID token updated to reflect MFA enrollment.
-
#phone_auth_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo
Phone Verification info for a FinalizeMfa response.
-
#refresh_token ⇒ String
Refresh token updated to reflect MFA enrollment.
-
#totp_auth_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
Mfa response info specific to TOTP auth for FinalizeMfa.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse
Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.
2296 2297 2298 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id_token ⇒ String
ID token updated to reflect MFA enrollment.
Corresponds to the JSON property idToken
2279 2280 2281 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2279 def id_token @id_token end |
#phone_auth_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo
Phone Verification info for a FinalizeMfa response.
Corresponds to the JSON property phoneAuthInfo
2284 2285 2286 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2284 def phone_auth_info @phone_auth_info end |
#refresh_token ⇒ String
Refresh token updated to reflect MFA enrollment.
Corresponds to the JSON property refreshToken
2289 2290 2291 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2289 def refresh_token @refresh_token end |
#totp_auth_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
Mfa response info specific to TOTP auth for FinalizeMfa.
Corresponds to the JSON property totpAuthInfo
2294 2295 2296 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2294 def totp_auth_info @totp_auth_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2301 2302 2303 2304 2305 2306 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2301 def update!(**args) @id_token = args[:id_token] if args.key?(:id_token) @phone_auth_info = args[:phone_auth_info] if args.key?(:phone_auth_info) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @totp_auth_info = args[:totp_auth_info] if args.key?(:totp_auth_info) end |