Skip to main content
Class implementing the Mfa Recovery Code Enrollment screen functionality. This screen is displayed when the user needs to enroll with a recovery code for MFA.
Example

Constructors

Constructor
Creates an instance of the MfaRecoveryCodeEnrollment screen.

Properties

string

Methods

Promise<void>
Declares that the user saved the recovery code. This action is triggered when the user declares that they have saved the recovery code. It redirects to the next screen in the authentication flow.A promise that resolves when the action is successfully submitted.
Example
Rejects with an error if the submission fails.
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.