Class implementing the reset-password-mfa-otp-challenge screen functionality
import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . continue ({
code: '123456' ,
});
Constructors
ResetPasswordMfaOtpChallenge
Creates an instance of ResetPasswordMfaOtpChallenge screen manager
Properties
Screen identifier for validation and telemetry
Methods
Continues with the OTP challenge using the provided code. import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . continue ({
code: '123456' ,
});
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.
Allows the user to try another MFA method. import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . tryAnotherMethod ();
Optional custom options to include with the request.