Passer au contenu principal
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

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

Constructeurs

MfaPushWelcome
Constructor
Initialise l’écran MfaPushWelcome à partir des données du Universal Login Context.

Propriétés

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Méthodes

enroll
Promise<void>
Accède à l’écran d’inscription.
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.enroll();
getErrors
Récupère le tableau d’erreurs de transaction à partir du contexte, ou un tableau vide s’il n’y en a aucune.Un tableau d’objets Error provenant du contexte de la transaction.
pickAuthenticator
Promise<void>
Accède à l’écran de sélection de l’authentificateur.
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

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