Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

The MfaPushWelcome class implements the mfa-push-welcome screen functionality.
MfaPushWelcome

Constructors

Create an instance of MFA Push Welcome screen manager:
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.enroll();

Properties

Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as id, name, and logoUrl, for the mfa-push-welcome screen.
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-push-welcome 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-push-welcome screen, such as active identifiers and flow states.
Handles untrusted data passed to the SDK, such as user input during MFA push welcome.
Details of the active user, including username, email, and roles.

Methods

changeLanguage
Promise<void>
This method changes the display language of the Universal Login page.
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';
const mfaPushWelcome = new MfaPushWelcome();
mfaPushWelcome.changeLanguage({
  language: 'fr',
});
Method Parameters

enroll
Promise<void>
This method navigates to the enrollment screen.
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.enroll();
Method Parameters

getErrors
This method retrieves the array of transaction errors from the context, or an empty array if none exist.
pickAuthenticator
Promise<void>
This method navigates to the authenticator selection screen.
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.pickAuthenticator();
Method Parameters