Class implementing the mfa-otp-challenge screen functionality This screen is shown when a user needs to enter an OTP code during MFA

Hierarchy

  • BaseContext
    • MfaOtpChallenge

Implements

Constructors

Properties

branding: BrandingMembers
organization: OrganizationMembers
transaction: TransactionMembers
untrustedData: UntrustedDataMembers
screenIdentifier: string = ScreenIds.MFA_OTP_CHALLENGE

Methods

  • Continues with the OTP challenge using the provided code

    Parameters

    Returns Promise<void>

    import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';

    const mfaOtpChallenge = new MfaOtpChallenge();
    await mfaOtpChallenge.continue({
    code: '123456',
    rememberBrowser: true
    });