Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse

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

FinalizeMfaEnrollment response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.



2012
2013
2014
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2012

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#id_tokenString

ID token updated to reflect MFA enrollment. Corresponds to the JSON property idToken

Returns:

  • (String)


1995
1996
1997
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1995

def id_token
  @id_token
end

#phone_auth_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo

Phone Verification info for a FinalizeMfa response. Corresponds to the JSON property phoneAuthInfo



2000
2001
2002
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2000

def phone_auth_info
  @phone_auth_info
end

#refresh_tokenString

Refresh token updated to reflect MFA enrollment. Corresponds to the JSON property refreshToken

Returns:

  • (String)


2005
2006
2007
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2005

def refresh_token
  @refresh_token
end

#totp_auth_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo

Mfa response info specific to TOTP auth for FinalizeMfa. Corresponds to the JSON property totpAuthInfo



2010
2011
2012
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2010

def totp_auth_info
  @totp_auth_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2017
2018
2019
2020
2021
2022
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2017

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