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.



2304
2305
2306
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2304

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

Instance Attribute Details

#mfa_enrollment_idString

The MFA enrollment ID from the user's list of current MFA enrollments. Corresponds to the JSON property mfaEnrollmentId

Returns:

  • (String)


2281
2282
2283
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2281

def mfa_enrollment_id
  @mfa_enrollment_id
end

#mfa_pending_credentialString

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

Returns:

  • (String)


2286
2287
2288
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2286

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



2291
2292
2293
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2291

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)


2297
2298
2299
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2297

def tenant_id
  @tenant_id
end

#totp_verification_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo

TOTP verification info for FinalizeMfaSignInRequest. Corresponds to the JSON property totpVerificationInfo



2302
2303
2304
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2302

def totp_verification_info
  @totp_verification_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2309
2310
2311
2312
2313
2314
2315
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2309

def update!(**args)
  @mfa_enrollment_id = args[:mfa_enrollment_id] if args.key?(:mfa_enrollment_id)
  @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)
  @totp_verification_info = args[:totp_verification_info] if args.key?(:totp_verification_info)
end