Skip to main content
Class implementing the mfa-email-list screen functionality This screen allows users to select an enrolled email address for MFA
Example
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
});

Constructors

MfaEmailList
Constructor
Creates an instance of MfaEmailList screen manager

Properties

branding
client
organization
prompt
screen
The screen object for the mfa-email-list screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

getErrors
Retrieves the array of transaction errors from the context, or an empty array if none exist.An array of error objects from the transaction context.
goBack
Promise<void>
Navigates back to the previous screen
Example
import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';

const mfaEmailList = new MfaEmailList();
await mfaEmailList.goBack();
selectMfaEmail
Promise<void>
Selects an enrolled email address from the list
Example
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
});