PlayerPrefs
After logging in, the session token is saved in PlayerPrefs
, a class that stores Player preferences between game sessions. It can store string
, float
and integer
values into the player's platform registry.
Unity uses the following key format to isolate the tokens:
$CloudProjectId.$Profile.unity.services.authentication.session_token
.
The location depends on the platform.
See the PlayerPrefs script reference documentation for more details.