> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-actions-triggers-prototype.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ResetPasswordRequest

> Describes all the properties and methods available to customize the Universal Login `reset-password-request` screen.

The ResetPasswordRequest class implements the `reset-password-request` screen functionality. This screen prompts the user to enter their identifier to initiate the password reset flow.

<Frame>
  <img style={{maxHeight:"400px"}} src="https://mintcdn.com/docs-dev-actions-triggers-prototype/pJYW9vLPIqzUNcly/docs/images/cdy7uua7fh8z/3sY6D83USU8smQ4ozQuNzP/6e856749303830f72b764f539918b8ab/Screenshot_2025-03-27_at_14.44.14.png?fit=max&auto=format&n=pJYW9vLPIqzUNcly&q=85&s=d83bfdcd81c59354bc05e79b772cbb37" alt="" width="394" height="528" data-path="docs/images/cdy7uua7fh8z/3sY6D83USU8smQ4ozQuNzP/6e856749303830f72b764f539918b8ab/Screenshot_2025-03-27_at_14.44.14.png" />
</Frame>

## Constructors

Create an instance of ResetPasswordRequest screen manager:

```typescript Example theme={null}
import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';
const resetPasswordRequestManager = new ResetPasswordRequest();
await resetPasswordRequestManager.resetPassword({ username: 'testuser' });
```

## Properties

<ParamField body="branding" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers">BrandingMembers</a></span>}>
  Provides branding-related configurations, such as branding theme and settings.
</ParamField>

<ParamField body="client" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers">ClientMembers</a></span>}>
  Provides client-related configurations, such as `id`, `name`, and `logoUrl`, for the `reset-password-request` screen.
</ParamField>

<ParamField body="organization" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers">OrganizationMembers</a></span>}>
  Provides information about the user's Organization, such as `id` and `name`.
</ParamField>

<ParamField body="prompt" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers">PromptMembers</a></span>}>
  Contains data about the current prompt in the authentication flow.
</ParamField>

<ParamField body="screen" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnResetPasswordRequest">ScreenMembersOnResetPasswordRequest</a></span>}>
  Contains details specific to the `reset-password-request` screen, including its configuration and context.
</ParamField>

<ParamField body="tenant" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers">TenantMembers</a></span>}>
  Contains data related to the tenant, such as `id` and associated metadata.
</ParamField>

<ParamField body="transaction" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembersOnResetPasswordRequest">TransactionMembersOnResetPasswordRequest</a></span>}>
  Provides transaction-specific data for the `reset-password-request` screen, such as active identifiers and flow states.
</ParamField>

<ParamField body="untrustedData" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>}>
  Handles untrusted data passed to the SDK, such as user input during the password reset request flow.
</ParamField>

<ParamField body="user" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers">UserMembers</a></span>}>
  Details of the active user, including `username`, `email`, and `roles`.
</ParamField>

## Methods

<ParamField body="backToLogin" type="Promise<void>">
  This method navigates the user back to the login screen.

  ```typescript Example theme={null}
  import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';
  const resetPasswordRequestManager = new ResetPasswordRequest();
  await resetPasswordRequestManager.backToLogin();
  ```
</ParamField>

<ParamField body="changeLanguage" type="Promise<void>">
  This method changes the display language of the Universal Login page.

  ```typescript Example theme={null}
  import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';
  const resetPasswordRequestManager = new ResetPasswordRequest();
  resetPasswordRequestManager.changeLanguage({
    language: 'fr',
  });
  ```

  **Method Parameters**

  <Expandable title="Parameters">
    <ParamField body="options">
      [LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
    </ParamField>

    <ParamField body="language" type="string" required>
      The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
    </ParamField>

    <ParamField body="persist?" type="&#x22;session&#x22;">
      When set to `'session'`, the selected language persists for the duration of the session.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="getErrors" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>
  This method retrieves the array of transaction errors from the context, or an empty array if none exist.
</ParamField>

<ParamField body="getLoginIdentifiers" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/type-aliases/ScreenIdentifierType">ScreenIdentifierType</a>[]</span>}>
  This method returns the active identifier types (such as `username` or `email`) configured for the `reset-password-request` screen.

  ```typescript Example theme={null}
  import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';
  const resetPasswordRequestManager = new ResetPasswordRequest();
  resetPasswordRequestManager.getLoginIdentifiers();
  ```
</ParamField>

<ParamField body="resetPassword" type="Promise<void>">
  This method submits the user's identifier to initiate the password reset flow.

  ```typescript Example theme={null}
  import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';
  const resetPasswordRequestManager = new ResetPasswordRequest();
  await resetPasswordRequestManager.resetPassword({ username: 'testuser' });
  ```

  **Method Parameters**

  <Expandable title="Parameters">
    <ParamField body="options">
      [ResetPasswordRequestOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/ResetPasswordRequestOptions).
    </ParamField>

    <ParamField body="username" type="string" required>
      The username or email address of the account to reset.
    </ParamField>

    <ParamField body="captcha?" type="string">
      The CAPTCHA response token, if CAPTCHA is enabled for this tenant.
    </ParamField>
  </Expandable>
</ParamField>
