Skip to main content
Interface describing the members of the Mfa Recovery Code Enrollment screen.
Example
export interface MfaRecoveryCodeEnrollmentMembers extends BaseMembers {
  screen: ScreenMembersOnMfaRecoveryCodeEnrollment;

  /**
   * 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.
   *
   * @param {object} payload - An object containing any custom options.
   *
   * @returns {Promise<void>} A promise that resolves when the action is successfully submitted.
   * Rejects with an error if the submission fails.
   */
  continue(payload: MfaRecoveryCodeEnrollmentContinueOptions): Promise<void>;
}

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user

Methods

continue
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.