> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5528-php-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ID Token Structure

> Describes how ID tokens conform to the JWT standard and contain JWT claims asserted about the token itself, standard OIDC claims about the authenticated user, and custom claims that you define, control, and add to a token using a rule.

<Tooltip href="/docs/fr-ca/glossary?term=id-token" tip="Jeton d’ID
Identifiant conçu pour le client lui-même, et non pour l’accès à une ressource." cta="Voir le glossaire">ID tokens</Tooltip> follow the [JSON Web Token (JWT)](/docs/fr-ca/secure/tokens/json-web-tokens) standard, which means that their basic structure conforms to the typical [JWT Structure](/docs/fr-ca/secure/tokens/json-web-tokens/json-web-token-structure), and they contain standard [JWT Claims](/docs/fr-ca/secure/tokens/json-web-tokens/json-web-token-claims) asserted about the token itself.

Beyond what is required for <Tooltip href="/docs/fr-ca/glossary?term=json-web-token" tip="Jeton Web JSON (JWT)
Format standard de jeton d’ID (et souvent de jeton d’accès) utilisé pour représenter en toute sécurité des demandes entre deux parties." cta="Voir le glossaire">JWT</Tooltip>, ID tokens also contain claims asserted about the authenticated user, which are pre-defined by the <Tooltip href="/docs/fr-ca/glossary?term=openid" tip="OpenID
Norme ouverte d’authentification qui permet aux applications de vérifier l’identité des utilisateurs sans avoir à collecter leurs informations de connexion." cta="Voir le glossaire">OpenID</Tooltip> Connect (OIDC) protocol, and are thus known as standard OIDC claims. Some standard OIDC claims include:

* `name`
* `nickname`
* `picture`
* `email`
* `email_verified`

For a full list of standard OIDC claims, see [OIDC specification: Standard Claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). You can also create [custom claims](/docs/fr-ca/secure/tokens/json-web-tokens/json-web-token-claims), which are claims that you define, control, and add to a token using Auth0 Actions.

You control which OIDC claims are included in the ID token consumed by your application by including specific [OpenID Connect Scopes](/docs/fr-ca/get-started/apis/scopes/openid-connect-scopes) in a parameter when you request tokens while authenticating users. To learn how to request an ID token, see [Get ID Tokens](/docs/fr-ca/secure/tokens/id-tokens/get-id-tokens).

## Sample ID Token

This example shows the contents of an ID token. Notice that the <Tooltip data-tooltip-id="react-containers-DefinitionTooltip-3" tip="">audience</Tooltip> value (located in the `aud` claim) is set to the application's identifier, which means that only this specific application should consume the token. To learn more about the claims in this example, read [JSON Web Token Claims](/docs/fr-ca/secure/tokens/json-web-tokens/json-web-token-claims).

```json lines theme={null}
{
  "iss": "http://my-domain.auth0.com",
  "sub": "auth0|123456",
  "aud": "my_client_id",
  "exp": 1311281970,
  "iat": 1311280970,
  "name": "Jane Doe",
  "given_name": "Jane",
  "family_name": "Doe",
  "gender": "female",
  "birthdate": "0000-10-31",
  "email": "janedoe@example.com",
  "picture": "http://example.com/janedoe/me.jpg"
}
```

## En savoir plus

* [Obtenir des jetons d’ID](/docs/fr-ca/secure/tokens/id-tokens/get-id-tokens)
* [Valider les jetons d’ID](/docs/fr-ca/secure/tokens/id-tokens/validate-id-tokens)
* [Mise à jour de la durée de vie d’un jeton d’ID](/docs/fr-ca/secure/tokens/id-tokens/update-id-token-lifetime)
