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

# ResetPasswordRequest

> Universal Login の `reset-password-request` 画面をカスタマイズするために使用できる、すべてのプロパティとメソッドについて説明します。

ResetPasswordRequest クラスは、`reset-password-request` 画面の機能を実装します。この画面では、パスワードリセットフローを開始するために、ユーザーに識別子の入力を求めます。

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

<div id="constructors">
  ## コンストラクター
</div>

ResetPasswordRequest 画面マネージャーのインスタンスを生成します。

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

<div id="properties">
  ## プロパティ
</div>

<ParamField body="branding" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers">BrandingMembers</a></span>}>
  ブランディングテーマや設定など、ブランディング関連の構成を提供します。
</ParamField>

<ParamField body="client" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers">ClientMembers</a></span>}>
  `reset-password-request` 画面向けの、`id`、`name`、`logoUrl` などのクライアント関連の構成を提供します。
</ParamField>

<ParamField body="organization" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers">OrganizationMembers</a></span>}>
  ユーザーの組織に関する情報 (`id` や `name` など) を提供します。
</ParamField>

<ParamField body="prompt" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers">PromptMembers</a></span>}>
  認証フローにおける現在のプロンプトに関するデータを含みます。
</ParamField>

<ParamField body="screen" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnResetPasswordRequest">ScreenMembersOnResetPasswordRequest</a></span>}>
  設定やコンテキストなど、`reset-password-request` 画面固有の詳細を含みます。
</ParamField>

<ParamField body="tenant" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers">TenantMembers</a></span>}>
  `id` や関連するメタデータなど、テナントに関するデータを含みます。
</ParamField>

<ParamField body="transaction" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembersOnResetPasswordRequest">TransactionMembersOnResetPasswordRequest</a></span>}>
  アクティブな識別子やフローの状態など、`reset-password-request` 画面のトランザクション固有のデータを提供します。
</ParamField>

<ParamField body="untrustedData" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>}>
  パスワードリセット要求フロー中のユーザー入力など、SDK に渡される信頼できないデータを含みます。
</ParamField>

<ParamField body="user" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers">UserMembers</a></span>}>
  `username`、`email`、`roles` などを含む、現在のユーザーの詳細です。
</ParamField>

<div id="methods">
  ## メソッド
</div>

<ParamField body="backToLogin" type="Promise<void>">
  このメソッドは、ユーザーをログイン画面に戻します。

  ```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>">
  このメソッドは、Universal Login ページの表示言語を変更します。

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

  **メソッドパラメーター**

  <Expandable title="パラメーター">
    <ParamField body="options">
      [LanguageChangeOptions](/ja/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions)。
    </ParamField>

    <ParamField body="language" type="string" required>
      変更先の言語のロケールコード (例: `'en'`、`'fr'`、`'es'`) 。
    </ParamField>

    <ParamField body="persist?" type="&#x22;session&#x22;">
      `'session'` に設定すると、選択した言語がセッション中保持されます。
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="getErrors" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>
  このメソッドは、コンテキストからトランザクションエラーの配列を取得します。エラーがない場合は空の配列を返します。
</ParamField>

<ParamField body="getLoginIdentifiers" type={<span><a href="/ja/docs/libraries/acul/js-sdk/Screens/type-aliases/ScreenIdentifierType">ScreenIdentifierType</a>[]</span>}>
  このメソッドは、`reset-password-request` 画面に設定されている有効な識別子タイプ (`username` や `email` など) を返します。

  ```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>">
  このメソッドは、ユーザーの識別子を送信してパスワードリセットフローを開始します。

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

  **メソッドパラメーター**

  <Expandable title="パラメーター">
    <ParamField body="options">
      [ResetPasswordRequestOptions](/ja/docs/libraries/acul/js-sdk/Screens/interfaces/ResetPasswordRequestOptions)。
    </ParamField>

    <ParamField body="username" type="string" required>
      リセット対象のアカウントの username またはメールアドレス。
    </ParamField>

    <ParamField body="captcha?" type="string">
      このテナントで CAPTCHA が有効な場合の CAPTCHA 応答トークン。
    </ParamField>
  </Expandable>
</ParamField>
