Skip to main content
Interface defining the available methods and properties for the mfa-otp-challenge screen
Example
export interface MfaOtpChallengeMembers extends BaseMembers {
  screen: ScreenMembersOnMfaOtpChallenge;
  untrustedData: UntrustedDataMembersOnMfaOtpChallenge;

  /**
   * Continues with the OTP challenge using the provided code
   * @param payload The options containing the code and rememberDevice flag
   */
  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
tenant
transaction
untrustedData
user

Methods

continue
Promise<void>
Continues with the OTP challenge using the provided code
tryAnotherMethod
Promise<void>
Allows the user to try another MFA method