Skip to main content
Class implementing the mfa-otp-enrollment-code screen functionality. This screen is displayed when the user needs to enter the OTP code received during MFA enrollment.
Example

Constructors

Constructor
Creates an instance of MfaOtpEnrollmentCode.

Properties

The screen properties for the mfa-otp-enrollment-code screen.
string
Screen identifier for validation and telemetry

Methods

Promise<void>
Continues the MFA OTP enrollment process by submitting the OTP code.
Example
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.
Promise<void>
Allows the user to try another MFA method.
Example