Class implementing the mfa-email-challenge screen functionality This screen is shown when a user needs to verify their email during MFA

Hierarchy

  • BaseContext
    • MfaEmailChallenge

Implements

Constructors

Properties

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

Methods

  • Continues with the email challenge using the provided code

    Parameters

    Returns Promise<void>

    import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';

    const mfaEmailChallenge = new MfaEmailChallenge();
    await mfaEmailChallenge.continue({
    code: '123456',
    rememberDevice: true
    });
  • Submits the action to pick a different Email configuration, if available.

    Parameters

    Returns Promise<void>

    import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';

    const mfaEmailChallenge = new MfaEmailChallenge();
    await mfaEmailChallenge.pickEmail();