Skip to main content
Interface defining the available methods and properties for the mfa-otp-enrollment-code screen.
Example
export interface MfaOtpEnrollmentCodeMembers extends BaseMembers {
  /**
   * The screen properties for the mfa-otp-enrollment-code screen.
   */
  screen: ScreenMembersOnMfaOtpEnrollmentCode;

  /**
   * Continues the MFA OTP enrollment process by submitting the OTP code.
   * @param payload The options containing the OTP code.
   */
  continue(payload: ContinueOptions): Promise<void>;

  /**
   * Allows the user to try another MFA method.
   * @param payload Optional custom options to include with the request.
   */
  tryAnotherMethod(payload?: TryAnotherMethodOptions): Promise<void>;
}

Properties

branding
client
organization
prompt
screen
The screen properties for the mfa-otp-enrollment-code screen.
tenant
transaction
untrustedData
user

Methods

continue
Promise<void>
Continues the MFA OTP enrollment process by submitting the OTP code.
tryAnotherMethod
Promise<void>
Allows the user to try another MFA method.