Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest

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

Finalizes sign-in by verifying MFA challenge.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest.



1933
1934
1935
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1933

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

Instance Attribute Details

#mfa_pending_credentialString

Required. Pending credential from first factor sign-in. Corresponds to the JSON property mfaPendingCredential

Returns:

  • (String)


1920
1921
1922
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1920

def mfa_pending_credential
  @mfa_pending_credential
end

#phone_verification_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo

Phone Verification info for a FinalizeMfa request. Corresponds to the JSON property phoneVerificationInfo



1925
1926
1927
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1925

def phone_verification_info
  @phone_verification_info
end

#tenant_idString

The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project. Corresponds to the JSON property tenantId

Returns:

  • (String)


1931
1932
1933
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1931

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1938
1939
1940
1941
1942
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1938

def update!(**args)
  @mfa_pending_credential = args[:mfa_pending_credential] if args.key?(:mfa_pending_credential)
  @phone_verification_info = args[:phone_verification_info] if args.key?(:phone_verification_info)
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
end