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

# トークン情報の取得

> JWT を検証し、対応するユーザープロフィールを返す非推奨のエンドポイントです。代わりに /userinfo を使用してください。

## エンドポイント

`POST /tokeninfo`

> [!NOTE]
>
> このエンドポイントは従来の認証パイプラインの一部であり、最新の OIDC 準拠パイプラインを使用している場合は無効になります。代わりに、[/userinfo endpoint](#get-user-info)の使用を推奨します。最新の認証パイプラインの詳細については、[Introducing OIDC Conformant Authentication](/docs/api-auth/intro)を参照してください。

このエンドポイントは JSON Web Token (JWT) を検証し (署名と有効期限) 、トークンのユーザー ID を示す `sub` プロパティに対応するユーザー情報を返します。

### 備考

* このエンドポイントは、レート制限に関する情報を含む3つのHTTPレスポンスヘッダーを返します。
  * `X-RateLimit-Limit`: 1分あたりに許可されるリクエスト数。
  * `X-RateLimit-Remaining`: 利用可能なリクエスト数。新しいリクエストがあるたびに、この数は1減少します。1分経過するごとにリクエストが1件分回復するため、この数も1増加します。
  * `X-RateLimit-Reset`: レート制限 (`X-RateLimit-Limit`) がリセットされるまでの残り時間。値は[UTCエポック秒](https://en.wikipedia.org/wiki/Unix_time)です。

### 詳細はこちら

* [ユーザープロフィールの構造](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure)
* [Auth0 API のレート制限ポリシー](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy)

## レスポンススキーマ

\{}

application/json

**email\_verified** `boolean`

ユーザーのメールアドレスが確認済みかどうかを示します。

**email** `string`

ユーザーのメールアドレスです。

**clientID** `string`

トークンに関連付けられたクライアントIDです。

**updated\_at** `string`

ユーザー情報が最後に更新された日時です。

**name** `string`

ユーザーの氏名です。

**picture** `string`

ユーザーのプロフィール画像のURLです。

**user\_id** `string`

ユーザーの一意の識別子です。

**nickname** `string`

ユーザーのニックネームです。

**provider** `string`

ユーザーのIDプロバイダーです。

**connection** `string`

ユーザーの認証に使用されたコネクションです。

**isSocial** `boolean`

ユーザーがソーシャルプロバイダー経由で認証したかどうかを示します。

**created\_at** `string`

ユーザーが作成された日時です。

**global\_client\_id** `string`

グローバルクライアントIDです。

## レスポンスメッセージ

| Status | Description |
| - | - |
| 200 | ユーザー情報を含む成功レスポンス |
