Class implementing the mfa-otp-enrollment-code screen functionality. This screen is displayed when the user needs to enter the OTP code received during MFA enrollment.

Hierarchy

  • BaseContext
    • MfaOtpEnrollmentCode

Implements

Constructors

Properties

branding: BrandingMembers
organization: OrganizationMembers

The screen properties for the mfa-otp-enrollment-code screen.

transaction: TransactionMembers
untrustedData: UntrustedDataMembers
screenIdentifier: string = ''

Methods

  • Continues the MFA OTP enrollment process by submitting the OTP code.

    Parameters

    Returns Promise<void>

    import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';

    const mfaOtpEnrollmentCode = new MfaOtpEnrollmentCode();
    await mfaOtpEnrollmentCode.continue({
    code: '123456',
    });