> ## 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.

# EmailIdentifierChallenge

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

EmailIdentifierChallenge クラスは、`email-identifier-challenge` 画面の機能を提供します。この画面では、ユーザーのメールアドレスに送信された確認コードの入力を求め、アイデンティティを確認します。

<Frame>
  <img style={{maxHeight:"400px"}} src="https://mintcdn.com/translations/mMSz-RNYLuOm2GmQ/docs/images/cdy7uua7fh8z/ACUL/Screenshot_2026-04-22_at_18.14.17.png?fit=max&auto=format&n=mMSz-RNYLuOm2GmQ&q=85&s=bc5b41d4236d95fb4e7b552d387fa90f" alt="ACUL Email Identifier Challenge" width="436" height="557" data-path="docs/images/cdy7uua7fh8z/ACUL/Screenshot_2026-04-22_at_18.14.17.png" />
</Frame>

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

EmailIdentifierChallenge画面マネージャーのインスタンスを作成します：

```typescript Example theme={null}
import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
await emailIdentifierChallengeManager.submitEmailChallenge({ code: 'your-code' });
```

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

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

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

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

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

<ParamField body="screen" type={<span><a href="/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnEmailIdentifierChallenge">ScreenMembersOnEmailIdentifierChallenge</a></span>}>
  構成やコンテキストなど、`email-identifier-challenge` 画面に固有の詳細を含みます。
</ParamField>

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

<ParamField body="transaction" type={<span><a href="/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers">TransactionMembers</a></span>}>
  有効な識別子やフローの状態など、`email-identifier-challenge` 画面に関するトランザクション固有のデータを提供します。
</ParamField>

<ParamField body="untrustedData" type={<span><a href="/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>}>
  メール チャレンジ フロー中のユーザー入力など、SDK に渡される信頼されていないデータを扱います。
</ParamField>

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

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

<ParamField body="changeLanguage" type="Promise<void>">
  このメソッドは、Universal Login ページの表示言語を変更します。

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  emailIdentifierChallengeManager.changeLanguage({
    language: 'fr',
  });
  ```

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

  <Expandable title="パラメータ">
    <ParamField body="options">
      [LanguageChangeOptions](/docs/ja-jp/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="/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>
  このメソッドは、コンテキストからトランザクション のエラー配列を取得します。エラーが存在しない場合は空の配列を返します。
</ParamField>

<ParamField body="resendCode" type="Promise<void>">
  このメソッドは、ユーザーのメールアドレスに確認コードを再送します。

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  await emailIdentifierChallengeManager.resendCode();
  ```
</ParamField>

<ParamField body="resendManager" type={<span><a href="/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ResendControl">ResendControl</a></span>}>
  このメソッドは、タイムアウト管理付きの再送機能を提供します。`startResend()` メソッドを持つ [`ResendControl`](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ResendControl) オブジェクトを返し、再送を実行すると、ユーザーが再度再送できるようになるまでクールダウン時間が適用されます。

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  const { startResend } = emailIdentifierChallengeManager.resendManager({
    timeoutSeconds: 15,
  });
  await startResend();
  ```

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

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

    <ParamField body="timeoutSeconds?" type="number">
      ユーザーがコードを再送できるようになるまでのクールダウン時間 (秒) 。
    </ParamField>

    <ParamField body="onStatusChange?" type={<span><a href="/docs/ja-jp/libraries/acul/js-sdk/Screens/type-aliases/OnStatusChangeCallback">OnStatusChangeCallback</a></span>}>
      再送の status が変わるたびに呼び出されるコールバックです。残り秒数と、再送機能が現在無効かどうかを返します。
    </ParamField>

    <ParamField body="onTimeout?" type="() => void">
      クールダウンが終了し、再送が再び可能になったときに呼び出されるコールバックです。
    </ParamField>
  </Expandable>
</ParamField>

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

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  await emailIdentifierChallengeManager.returnToPrevious();
  ```
</ParamField>

<ParamField body="switchToPassword" type="Promise<void>">
  このメソッドは、認証フローを Email OTP による確認からパスワードベースの認証に切り替えます。

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  await emailIdentifierChallengeManager.switchToPassword();
  ```
</ParamField>

<ParamField body="submitEmailChallenge" type="Promise<void>">
  このメソッドは、チャレンジを完了するためにメールアドレスに送信された確認コードを送信します。

  ```typescript Example theme={null}
  import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-identifier-challenge';
  const emailIdentifierChallengeManager = new EmailIdentifierChallenge();
  await emailIdentifierChallengeManager.submitEmailChallenge({ code: 'your-code' });
  ```

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

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

    <ParamField body="code" type="string" required>
      ユーザーのメールアドレスに送信された確認コード。
    </ParamField>

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