# Token

Learn how to read the visitor's user token.

This class represents the visitor's user token, returned by [`getUserToken`](/reference/sdk/php/api/core/plug/get-user-token). It is a [JSON Web Token (JWT)](https://jwt.io) that identifies the visitor, and stays anonymous until you [identify](/reference/sdk/php/api/core/plug/identify) them.

> **Looking for something specific?**
>
> Use the search bar at the top of the page or press `/` to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

- [getSubject](/reference/sdk/php/api/authentication/token/get-subject): Learn how to get the identified user ID.
- [isAnonymous](/reference/sdk/php/api/authentication/token/is-anonymous): Learn how to check whether the token is anonymous.
- [getTokenId](/reference/sdk/php/api/authentication/token/get-token-id): Learn how to get the unique token ID.
- [getIssueTime](/reference/sdk/php/api/authentication/token/get-issue-time): Learn how to get the time the token was issued.
- [getExpirationTime](/reference/sdk/php/api/authentication/token/get-expiration-time): Learn how to get the time the token expires.
- [isValidNow](/reference/sdk/php/api/authentication/token/is-valid-now): Learn how to check whether the token is currently valid.
- [toString](/reference/sdk/php/api/authentication/token/to-string): Learn how to serialize the token to a string.
