Skip to main content
Example
export interface MfaPhoneEnrollmentMembers extends BaseMembers {
  client: ClientMembers;
  organization: OrganizationMembers;
  prompt: PromptMembers;
  screen: ScreenMembers;
  transaction: TransactionMembers;

  /**
   * Selects the country code for the phone number.
   * @param payload Optional custom options to include with the request.
   */
  pickCountryCode(payload?: CustomOptions): Promise<void>;

  /**
   * Continues the enrollment process with the provided phone number and type (SMS or voice).
   * @param payload The phone number, type, and optional custom options.
   */
  continueEnrollment(payload: ContinueOptions): Promise<void>;

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

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user

Methods

continueEnrollment
Promise<void>
Continues the enrollment process with the provided phone number and type (SMS or voice).
pickCountryCode
Promise<void>
Selects the country code for the phone number.
tryAnotherMethod
Promise<void>
Allows the user to try another MFA method.