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

Constructors
Create an instance of MFA Email Challenge screen manager:Example
Properties
Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as
id, name, and logoUrl, for the mfa-email-challenge screen.Provides country code data for phone number entry, such as
available and recommended, for the mfa-email-challenge screen.The active Experiment Center experiment for this screen, or
null when no experiment is active (or the screen has not opted in via context_configuration).Provides information about the user’s Organization, such as
id and name.Contains data about the current prompt in the authentication flow.
Contains details specific to the
mfa-email-challenge screen, including its configuration and context.Contains data related to the tenant, such as
id and associated metadata.Provides transaction-specific data for the
mfa-email-challenge screen, such as active identifiers and flow states.Handles untrusted data passed to the SDK, such as user input during MFA email challenge.
Details of the active user, including
username, email, and roles.Methods
This method changes the display language of the Universal Login page.Method Parameters
Example
This method continues with the email challenge using the provided code.Method Parameters
Example
Error[]
This method retrieves the array of transaction errors from the context, or an empty array if none exist.
This method submits the action to pick a different Email configuration, if available.
Example
Resends the one-time code to the user’s email address.This method submits a form to Auth0. Auth0 renders this screen again, so the browser reloads the page and the JavaScript context, including component state and timers, is lost.When you call
resendCode(), keep the following in mind:- Code that runs after
await resendCode()can’t rely on state that the code sets, such as a “code sent” message or a countdown. - Server-side errors, such as rate limits, appear in
transaction.errorsafter the page reloads. These errors don’t reject the returned promise. - The returned promise resolves when the form is submitted, before the page reloads. The promise doesn’t confirm that Auth0 sent a new code.
resendManager(). The resendManager() method stores the countdown in localStorage, so the countdown persists across the page reload.Example
Returns a Method Parameters
ResendControl object that manages resending with a cooldown. The startResend() method of the object triggers the resend and starts a cooldown period before the user can resend again. The countdown persists across the page reload that a resend causes.Example