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

> トリガーの実行に関するコンテキスト情報を提供する、custom-email-provider Action トリガーのイベントオブジェクトについて説明します。

# イベントオブジェクト

custom-email-provider Actions トリガーの `event` オブジェクトは、トリガーの実行に関するコンテキスト情報を提供します。

```json Event Object theme={null}
{
  "secrets": {},
  "client": {
    "client_id": "string",
    "metadata": {},
    "name": "string"
  },
  "notification": {
    "from": "string",
    "html": "string",
    "locale": "string",
    "message_type": "string",
    "subject": "string",
    "text": "string",
    "to": "string"
  },
  "request": {},
  "tenant": {
    "id": "string"
  },
  "user": {}
}
```

<div id="eventclient">
  ## `event.client`
</div>

<ResponseField name="event.client" type="object">
  このログイントランザクションを開始したクライアントに関する情報。

  <Expandable title="event.client のプロパティ" defaultOpen>
    <ResponseField name="client_id" type="string">
      ユーザーがログインするアプリケーションのクライアントID。
    </ResponseField>

    <ResponseField name="metadata" type="dictionary">
      その他のアプリケーションプロパティを格納するオブジェクト。
    </ResponseField>

    <ResponseField name="name" type="string">
      アプリケーションの名前 (Auth0 Dashboard で定義) 。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventconnection">
  ## `event.connection`
</div>

<ResponseField name="event.connection" type="object" post={["optional"]}>
  ユーザーの認証に使用された接続の詳細。

  <Expandable title="event.connection のプロパティ" defaultOpen>
    <ResponseField name="id" type="string">
      接続の一意の識別子。
    </ResponseField>

    <ResponseField name="metadata" type="dictionary" post={["optional"]}>
      接続に関連付けられたメタデータ。
    </ResponseField>

    <ResponseField name="name" type="string">
      ユーザーの認証に使用された接続の名前 (`twitter` や `some-g-suite-domain` など) 。
    </ResponseField>

    <ResponseField name="strategy" type="string">
      接続の種類。ソーシャル接続の場合、`event.connection.strategy === event.connection.name` となります。エンタープライズ接続の場合、strategy には `waad` (Windows Azure AD) 、`ad` (Active Directory/LDAP) 、`auth0` (データベース接続) などがあります。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventcustom_domain">
  ## `event.custom_domain`
</div>

<ResponseField name="event.custom_domain" type="object" post={["optional"]}>
  現在のトランザクションに関連付けられたカスタムドメインの詳細です。

  <Expandable title="event.custom_domain のプロパティ" defaultOpen>
    <ResponseField name="domain" type="string">
      カスタムドメイン名。
    </ResponseField>

    <ResponseField name="domain_metadata" type="dictionary">
      キーと値のペアで構成されるカスタムドメインのメタデータ。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventnotification">
  ## `event.notification`
</div>

<ResponseField name="event.notification" type="object">
  <Expandable title="event.notification のプロパティ" defaultOpen>
    <ResponseField name="from" type="string">
      メールの送信者のメールアドレス。
    </ResponseField>

    <ResponseField name="html" type="string">
      レンダリングされた HTML テンプレート。
    </ResponseField>

    <ResponseField name="locale" type="string">
      メッセージのレンダリングに使用したロケール。BCP-47 仕様で定義されている `en_US` など。
    </ResponseField>

    <ResponseField name="message_type" type="string">
      `verify_email` や `welcome_email` など、送信されるメッセージの種類。

      許可される値: `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `verification_code`, `mfa_oob_code`, `enrollment_email`, `blocked_account`, `stolen_credentials`, `try_provider_configuration_email`, `organization_invitation`
    </ResponseField>

    <ResponseField name="subject" type="string">
      メールに付加する件名。
    </ResponseField>

    <ResponseField name="text" type="string">
      レンダリングされたテキストテンプレート。
    </ResponseField>

    <ResponseField name="to" type="string">
      受信者のメールアドレス。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventorganization">
  ## `event.organization`
</div>

<ResponseField name="event.organization" type="dictionary" post={["optional"]}>
  現在のトランザクションに関連付けられた組織の詳細。

  <Expandable title="event.organizationのプロパティ" defaultOpen>
    <ResponseField name="id" type="string">
      組織ID。
    </ResponseField>

    <ResponseField name="display_name" type="string">
      組織の表示名。
    </ResponseField>

    <ResponseField name="metadata" type="dictionary">
      組織に関連付けられたメタデータ。
    </ResponseField>

    <ResponseField name="name" type="string">
      組織の名前。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventrequest">
  ## `event.request`
</div>

<ResponseField name="event.request" type="object">
  <Expandable title="event.request のプロパティ" defaultOpen>
    <ResponseField name="geoip" type="dictionary" post={["optional"]}>
      <Expandable title="geoip プロパティ" defaultOpen>
        <ResponseField name="cityName" type="string" post={["optional"]} />

        <ResponseField name="continentCode" type="string" post={["optional"]} />

        <ResponseField name="countryCode" type="string" post={["optional"]} />

        <ResponseField name="countryCode3" type="string" post={["optional"]} />

        <ResponseField name="countryName" type="string" post={["optional"]} />

        <ResponseField name="latitude" type="number" post={["optional"]} />

        <ResponseField name="longitude" type="number" post={["optional"]} />

        <ResponseField name="subdivisionCode" type="string" post={["optional"]} />

        <ResponseField name="subdivisionName" type="string" post={["optional"]} />

        <ResponseField name="timeZone" type="string" post={["optional"]} />
      </Expandable>
    </ResponseField>

    <ResponseField name="hostname" type="string" post={["optional"]}>
      認証フローで使用されるホスト名。
    </ResponseField>

    <ResponseField name="ip" type="string" post={["optional"]}>
      リクエストの送信元 IP アドレス。
    </ResponseField>

    <ResponseField name="query" type="dictionary" post={["optional"]}>
      認可リクエストに送信されるクエリ文字列パラメーター。
    </ResponseField>

    <ResponseField name="user_agent" type="string" post={["optional"]}>
      トランザクション開始時に受信した `User-Agent` ヘッダーの値。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventsecrets">
  ## `event.secrets`
</div>

<ResponseField name="event.secrets" type="secrets">
  このActionに安全に関連付けられたシークレット値。
</ResponseField>

<div id="eventtenant">
  ## `event.tenant`
</div>

<ResponseField name="event.tenant" type="object">
  <Expandable title="event.tenantのプロパティ" defaultOpen>
    <ResponseField name="id" type="string">
      tenantの名前。
    </ResponseField>

    <ResponseField name="friendly_name" type="string" post={["optional"]}>
      tenantの表示名。通常はIDを人が理解しやすい形式にしたものです。
    </ResponseField>

    <ResponseField name="home_url" type="string" post={["optional"]}>
      定義されている場合、設定に記載されたtenantのホームURL。
    </ResponseField>

    <ResponseField name="logo_url" type="string" post={["optional"]}>
      定義されている場合、設定に記載されたtenantのロゴURL。
    </ResponseField>

    <ResponseField name="support_email" type="string" post={["optional"]}>
      定義されている場合、設定に記載されたtenantのサポート窓口のメールアドレス。
    </ResponseField>

    <ResponseField name="support_url" type="string" post={["optional"]}>
      定義されている場合、設定に記載されたtenantのサポート窓口のURL。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventtransaction">
  ## `event.transaction`
</div>

<ResponseField name="event.transaction" type="object" post={["optional"]}>
  トレーシング用の現在のトランザクションの詳細。

  <Expandable title="event.transaction プロパティ" defaultOpen>
    <ResponseField name="correlation_id" type="string" post={["optional"]}>
      分散トレーシングのために、複数のサービスにまたがるこのリクエストを関連付ける一意の識別子。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventuser">
  ## `event.user`
</div>

<ResponseField name="event.user" type="dictionary">
  現在のトランザクションを開始したユーザーを表すオブジェクトです。

  <Expandable title="event.userのプロパティ" defaultOpen>
    <ResponseField name="app_metadata" type="dictionary">
      サポートプラン、セキュリティロール、アクセス制御グループなど、ユーザーがアクセスできる内容に影響する情報を保存するCustom fieldsです。
    </ResponseField>

    <ResponseField name="email" type="string" post={["optional"]}>
      (一意の) ユーザーのメールアドレス。
    </ResponseField>

    <ResponseField name="email_verified" type="boolean">
      ユーザーがメールアドレスを確認済みかどうかを示します。
    </ResponseField>

    <ResponseField name="family_name" type="string" post={["optional"]}>
      ユーザーの姓。
    </ResponseField>

    <ResponseField name="given_name" type="string" post={["optional"]}>
      ユーザーの名。
    </ResponseField>

    <ResponseField name="name" type="string" post={["optional"]}>
      ユーザーの氏名。
    </ResponseField>

    <ResponseField name="nickname" type="string" post={["optional"]}>
      ユーザーのニックネーム。
    </ResponseField>

    <ResponseField name="picture" type="string" post={["optional"]}>
      [ユーザーのプロフィール画像](https://auth0.com/docs/users/change-user-picture)を指すURL。
    </ResponseField>

    <ResponseField name="user_id" type="string">
      (一意の) ユーザーの一意の識別子。
    </ResponseField>

    <ResponseField name="user_metadata" type="dictionary">
      勤務先住所、自宅住所、ユーザー設定など、アクセスできる内容に影響しない情報を保存するCustom fieldsです。
    </ResponseField>

    <ResponseField name="username" type="string" post={["optional"]}>
      (一意の) ユーザー名。
    </ResponseField>
  </Expandable>
</ResponseField>
