# PlayerPrefs /PlayerPrefs

> Understand how Unity Authentication uses player preferences to securely store authentication tokens.

サインイン後、セッショントークンは `PlayerPrefs` に保存されます。これはゲームセッション間でのプレイヤーの設定を保存するクラスです。`string`、`float`、`integer` をプレイヤーのプラットフォームレジストリに保存することができます。

Unity では、以下のキー形式を使用してトークンが分離されます。

`$CloudProjectId.$Profile.unity.services.authentication.session_token`。

場所はプラットフォームによって異なります。

詳細については、[PlayerPrefs](https://docs.unity3d.com/ScriptReference/PlayerPrefs.html) スクリプトのリファレンスドキュメントを参照してください。
