Class implementing the mfa-email-list screen functionality This screen allows users to select an enrolled email address for MFA

Hierarchy

  • BaseContext
    • MfaEmailList

Implements

Constructors

Properties

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

Methods

  • Navigates back to the previous screen

    Parameters

    • Optionalpayload: CustomOptions

      Optional custom options to include with the request

    Returns Promise<void>

    import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';

    const mfaEmailList = new MfaEmailList();
    await mfaEmailList.goBack();
  • Selects an enrolled email address from the list

    Parameters

    Returns Promise<void>

    import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';

    const mfaEmailList = new MfaEmailList();
    await mfaEmailList.selectMfaEmail({
    index: 0 // for demonstration we are selecting the first index
    });