Skip to main content
undefined
MFA Begin Enroll Options screen implementation class Handles the selection and enrollment of MFA factors
Example
const mfaBeginEnrollOptions = new MfaBeginEnrollOptions();
await mfaBeginEnrollOptions.enroll({
  action: 'push-notification'
});

Constructors

MfaBeginEnrollOptions
Constructor
Creates an instance of MFA Begin Enroll Options screen manager

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

enroll
Promise<void>
Continues the enrollment process with the selected factor
Example
const mfaBeginEnrollOptions = new MfaBeginEnrollOptions();
await mfaBeginEnrollOptions.enroll({
  action: 'push-notification'
});
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.