How Unity Authentication works
Understand how Unity Authentication generates player identifiers and tokens to enable secure player identification.
Read time 1 minuteLast updated 18 hours ago
When a player signs in to your app, Unity Authentication generates the following tokens and ID:
- A (a random alphanumeric string of 28 characters): used to identify returning and new players on different devices and external providers.
PlayerID - A session token: used to re-authenticate the user after the session expires.
- An access token: used to identify and authenticate the player to other Unity services.
PlayerID- A means to identify a player and store player game data (for example, saving game state and recording in-app purchases).
- Consistent game experiences to the player (for example, points for leaderboards and suggested in-app purchases).
- Insight about the player’s game behavior across multiple devices.
- Multiplayer features on various platforms.