> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ResetPasswordMfaPhoneChallengeMembers

ResetPasswordMfaPhoneChallengeMembers

````ts Example theme={null}
export interface ResetPasswordMfaPhoneChallengeMembers extends BaseMembers {
  /**
   * Access to client-specific information (e.g., client ID, name).
   * @type {ClientMembers}
   */
  client: ClientMembers;

  /**
   * Access to organization-specific information, if applicable.
   * @type {OrganizationMembers}
   */
  organization: OrganizationMembers;

  /**
   * Access to prompt details (e.g., prompt name).
   * @type {PromptMembers}
   */
  prompt: PromptMembers;

  /**
   * Access to the specific properties and data of the 'reset-password-mfa-phone-challenge' screen.
   * @type {ScreenMembersOnResetPasswordMfaPhoneChallenge}
   */
  screen: ScreenMembersOnResetPasswordMfaPhoneChallenge;

  /**
   * Access to the current transaction details (e.g., state, errors).
   * @type {TransactionMembers}
   */
  transaction: TransactionMembers;

  /**
   * Sends the verification code to the user's phone via the specified method (SMS or Voice).
   * This action corresponds to the user clicking the "Send Code via SMS" or "Send Code via Voice Call" button.
   * It triggers the Auth0 backend to initiate the code delivery process.
   *
   * @param {ContinueOptions} payload - The options specifying the delivery type ('sms' or 'voice') and any custom data.
   * @returns {Promise<void>} A promise that resolves when the action is successfully submitted to the server.
   * @throws {Error} Throws an error if the submission fails (e.g., network issue, invalid state).
   * @example
   * ```typescript
   * import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';
   *
   * const screen = new ResetPasswordMfaPhoneChallenge();
   *
   * // Send code via SMS
   * await screen.continue({ type: 'sms' });
   *
   * // Send code via Voice Call
   * await screen.continue({ type: 'voice' });
   * ```
   */
  continue(payload: ContinueOptions): Promise<void>;

  /**
   * Navigates the user to the screen where they can select an alternative MFA method.
   * This action corresponds to the user clicking a "Try Another Method" button.
   *
   * @param {TryAnotherMethodOptions} payload - The options specifying the current challenge type (`sms` or `voice`) and any custom data. The `type` field is necessary to inform the backend which flow the user is navigating away from.
   * @returns {Promise<void>} A promise that resolves when the action is successfully submitted to the server.
   * @throws {Error} Throws an error if the submission fails.
   * @example
   * ```typescript
   * import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';
   *
   * const screen = new ResetPasswordMfaPhoneChallenge();
   *
   * // If the user was presented with SMS option initially:
   * await screen.tryAnotherMethod({ type: 'sms' });
   *
   * // If the user was presented with Voice option initially:
   * await screen.tryAnotherMethod({ type: 'voice' });
   * ```
   */
  tryAnotherMethod(payload: TryAnotherMethodOptions): Promise<void>;
}
````

## Properties

<ParamField body="branding" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers">BrandingMembers</a></span>} />

<ParamField body="client" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers">ClientMembers</a></span>}>
  Access to client-specific information (e.g., client ID, name).
</ParamField>

<ParamField body="organization" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers">OrganizationMembers</a></span>}>
  Access to organization-specific information, if applicable.
</ParamField>

<ParamField body="prompt" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers">PromptMembers</a></span>}>
  Access to prompt details (e.g., prompt name).
</ParamField>

<ParamField body="screen" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnResetPasswordMfaPhoneChallenge">ScreenMembersOnResetPasswordMfaPhoneChallenge</a></span>}>
  Access to the specific properties and data of the 'reset-password-mfa-phone-challenge' screen.
</ParamField>

<ParamField body="tenant" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers">TenantMembers</a></span>} />

<ParamField body="transaction" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers">TransactionMembers</a></span>}>
  Access to the current transaction details (e.g., state, errors).
</ParamField>

<ParamField body="untrustedData" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>} />

<ParamField body="user" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers">UserMembers</a></span>} />

## Methods

<ParamField body="continue" type="Promise<void>">
  Sends the verification code to the user's phone via the specified method (SMS or Voice).
  This action corresponds to the user clicking the "Send Code via SMS" or "Send Code via Voice Call" button.
  It triggers the Auth0 backend to initiate the code delivery process.

  A promise that resolves when the action is successfully submitted to the server.

  #### Throws

  Throws an error if the submission fails (e.g., network issue, invalid state).

  ```typescript Example theme={null}
  import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';

  const screen = new ResetPasswordMfaPhoneChallenge();

  // Send code via SMS
  await screen.continue({ type: 'sms' });

  // Send code via Voice Call
  await screen.continue({ type: 'voice' });
  ```

  <Expandable title="Parameters">
    <ParamField body="payload" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ResetPasswordMfaPhoneChallengeContinueOptions">ResetPasswordMfaPhoneChallengeContinueOptions</a></span>}>
      The options specifying the delivery type ('sms' or 'voice') and any custom data.

      **Properties**

      <ParamField body="type" type="&#x22;sms&#x22; | &#x22;voice&#x22;">
        The delivery method selected by the user for receiving the verification code.

        * `sms`: Send the code via text message.
        * `voice`: Send the code via a voice call.
      </ParamField>
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="tryAnotherMethod" type="Promise<void>">
  Navigates the user to the screen where they can select an alternative MFA method.
  This action corresponds to the user clicking a "Try Another Method" button.

  A promise that resolves when the action is successfully submitted to the server.

  #### Throws

  Throws an error if the submission fails.

  ```typescript Example theme={null}
  import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';

  const screen = new ResetPasswordMfaPhoneChallenge();

  // If the user was presented with SMS option initially:
  await screen.tryAnotherMethod({ type: 'sms' });

  // If the user was presented with Voice option initially:
  await screen.tryAnotherMethod({ type: 'voice' });
  ```

  <Expandable title="Parameters">
    <ParamField body="payload" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ResetPasswordMfaPhoneChallengeTryAnotherMethodOptions">ResetPasswordMfaPhoneChallengeTryAnotherMethodOptions</a></span>}>
      The options specifying the current challenge type (`sms` or `voice`) and any custom data. The `type` field is necessary to inform the backend which flow the user is navigating away from.

      **Properties**

      <ParamField body="type" type="&#x22;sms&#x22; | &#x22;voice&#x22;">
        The delivery method that was initially presented or selected on the current screen.
        This is required by the API endpoint to correctly process the 'pick-authenticator' action.

        * `sms`: Indicates the current screen was for SMS challenge.
        * `voice`: Indicates the current screen was for Voice challenge.
      </ParamField>
    </ParamField>
  </Expandable>
</ParamField>
