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

# トリガーを検討する

> トリガーについて説明します。トリガーは、ユーザーのログインなど、特定の操作が実行時に発生したときに、アクションを自動的に呼び出すイベントです。

アクションを使って拡張できるプロセスをトリガーと呼びます。トリガーは、Auth0手順の単一ポイントで情報が移動する論理パイプラインを表します。1つのトリガーには複数のアクションが追加でき、各アクションは配置された順序で実行されます。トリガーには、同期的に実行され、関与するフローをブロックするものもありますが、非同期的に実行されるものもあります。

トリガーに特定のアクションについて、参照オブジェクトやブループリントを確認するには、以下でトリガーを選択してください。その際には、Auth0の[パスワードレス接続](/docs/ja-JP/ja-jp/authenticate/passwordless)の定義に注意してください。

<div id="signup-and-login">
  #### サインアップとログイン
</div>

<Accordion title="サインアップとログイン ユーザーをデータベース接続やパスワードレス接続に追加するときです。">
  <table class="table">
    <thead>
      <tr>
        <th>トリガー</th>
        <th>説明</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>`pre-user-registration`</td>
        <td>ユーザーが作成される前にトリガーします。ソーシャル接続には実行されません。</td>
      </tr>

      <tr>
        <td>`post-user-registration`</td>
        <td>ユーザーが作成された後に非同期的にトリガーします。ソーシャル接続には実行されません。</td>
      </tr>

      <tr>
        <td>`post-login`</td>
        <td>ユーザーが認証された後、トークンが発行される前にトリガーします。</td>
      </tr>
    </tbody>
  </table>
</Accordion>

<Accordion title="MFA通知 SMSを多要素認証（MFA）の1要素として使用するか、カスタムプロバイダーを構成するときです。">
  <table class="table">
    <thead>
      <tr>
        <th>トリガー</th>
        <th>説明</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>`send-phone-message`</td>
        <td>登録やチャレンジのプロセスでメッセージ送信にカスタムプロバイダーを使用している場合のトリガーです。</td>
      </tr>
    </tbody>
  </table>
</Accordion>

<div id="mfa-notifications">
  #### MFA通知
</div>

<Accordion title="パスワードのリセット パスワードのリセット要求が開始されるときです。">
  <table class="table">
    <thead>
      <tr>
        <th>トリガー</th>
        <th>説明</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>`post-change-password`</td>
        <td>パスワードが変更された後のトリガーです。  ソーシャル接続には実行されません。</td>
      </tr>

      <tr>
        <td>`password-reset-post-challenge`</td>
        <td>最初のチャレンジが完了した後、パスワードがリセットされる前のトリガーです。</td>
      </tr>
    </tbody>
  </table>
</Accordion>

<div id="password-reset">
  #### パスワードのリセット
</div>

パスワードのリセット要求が開始されるときです。

<table class="table">
  <thead>
    <tr>
      <th>トリガー</th>
      <th>説明</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`post-change-password`</td>
      <td>パスワードが変更された後のトリガーです。</td>
    </tr>

    <tr>
      <td>`password-reset-post-challenge`</td>
      <td>最初のチャレンジが完了した後、パスワードがリセットされる前のトリガーです。</td>
    </tr>
  </tbody>
</table>

<div id="machine-to-machine">
  #### マシンツーマシン
</div>

ユーザーではなく、アプリケーションが認証され、APIの使用が認可されるときです。

<table class="table">
  <thead>
    <tr>
      <th>トリガー</th>
      <th>説明</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`credentials-exchange`</td>
      <td>アクセストークンが返される前にトリガーします。</td>
    </tr>
  </tbody>
</table>
