Passer au contenu principal
PhoneIdentifierEnrollment
Example
import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';
const phoneIdentifierEnrollment = new PhoneIdentifierEnrollment();
phoneIdentifierChallenge.continuePhoneEnrollment({
    type: "<text' | 'voice>"
});

Constructeurs

PhoneIdentifierEnrollment
Constructor

Propriétés

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Méthodes

continuePhoneEnrollment
Promise<void>
Example
import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';

const phoneIdentifierEnrollment = new PhoneIdentifierEnrollment();
phoneIdentifierChallenge.continuePhoneEnrollment({
    type: "<text' | 'voice>"
});
getErrors
Récupère le tableau des erreurs de transaction à partir du contexte, ou un tableau vide s’il n’y en a aucune.Un tableau d’objets d’erreur provenant du contexte de la transaction.
returnToPrevious
Promise<void>
Example
import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';

const phoneIdentifierEnrollment = new PhoneIdentifierEnrollment();
phoneIdentifierChallenge.returnToPrevious();