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

Constructors

PhoneIdentifierEnrollment
Constructor

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

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

const phoneIdentifierEnrollment = new PhoneIdentifierEnrollment();
phoneIdentifierChallenge.continuePhoneEnrollment({
    type: "<text' | 'voice>"
});
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.
returnToPrevious
Promise<void>
Example
import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';

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