Skip to main content
Represents the Email OTP Challenge screen interface.
Example
export interface EmailOTPChallengeMembers extends BaseMembers {
  screen: ScreenMembersOnEmailOTPChallenge;
  /**
   * Submits the OTP code entered by the user.
   * @param options Optional parameters to include in the submission.
   */
  submitCode(options: OtpCodeOptions): Promise<void>;
  /**
   * Requests a new OTP code to be sent to the user's email.
   * @param options Optional parameters to include in the resend request.
   */
  resendCode(options?: CustomOptions): Promise<void>;
  /**
   * Gets resend functionality with timeout management for this screen
   * @param options Configuration options for resend functionality
   */
  resendManager(options?: StartResendOptions): ResendControl;
}

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user

Methods

resendCode
Promise<void>
Requests a new OTP code to be sent to the user’s email.
resendManager
Gets resend functionality with timeout management for this screen
submitCode
Promise<void>
Submits the OTP code entered by the user.