Class implementing the mfa-login-options screen functionality
This screen allows users to select which MFA factor they want to use for login
const mfaLoginOptions = new MfaLoginOptions();
await mfaLoginOptions.enroll({
action: 'push-notification'
});
Constructors
Creates an instance of MfaLoginOptions screen manager
Properties
The screen object for the mfa-login-options screen
Methods
Continues the login process with the selected MFA factorconst mfaLoginOptions = new MfaLoginOptions();
await mfaLoginOptions.enroll({
action: 'push-notification'
});
The options containing the selected factorPropertiesThe action indicating which factor to use for login
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.
import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';
const mfaLoginOptions = new MfaLoginOptions();
mfaLoginOptions.returnToPrevious();