文档

​
​

Development

User Acquisition

Monetization

工业

Authentication

Open Unity Dashboard

Authentication

LiveOps
​
​
Authentication
  • Overview
  • Get started
  • Concepts
    • How Authentication works
    • Approaches to authentication
    • Sessions and cached players
    • Manage profiles
    • Manage player names
    • Manage linked external identities
    • Player prefs
    • Delete accounts
    • Authentication native SDK
    • Digital Services Act Notifications
  • Tutorials
  • Reference
  • Privacy and consent
  1. Unity Authentication

Authentication 工作原理

Understand how Unity Authentication generates player identifiers and tokens to enable secure player identification.
阅读时间1 分钟
最后更新于 9 个月前

回归玩家或新玩家登录您的应用时,Unity Authentication 将生成以下令牌和 ID:
  • PlayerID
    (28 个字符的随机字母数字字符串):用于识别不同设备和外部提供商的回归玩家和新玩家。
  • 会话令牌:用于在会话过期后重新验证用户身份。
  • 身份验证令牌:包含
    PlayerID
    ,用于防止覆盖标识。
Unity 产品和 Unity 游戏可使用令牌和
PlayerID
在玩家进行身份验证时获取玩家信息。它们可实现以下功能:
  • 识别玩家和存储玩家游戏数据(例如,保存游戏状态、记录应用内购)。
  • 确保玩家游戏体验始终如一(例如,排行榜积分和应用内购建议)。
  • 提供有关玩家在多个设备上游戏行为的见解。
  • 在不同平台实现多人联网功能。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题