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.Rejects with an error if the submission fails.
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.