返回apple sign in的user id的值是怎么计算出来的?它看起来像 000011.9134c48e58484ad52299cb393541aa78.1781
。它是一个完全随机的数字吗?每个应用程序的这个编号是唯一的吗?
最佳答案
Apple 尚未提供有关如何计算用户标识符的任何信息。鉴于它保证在数百万用户中是唯一的,所以它不可能是纯随机的。然而,其计算可能存在一些随机性。
苹果 states
The user identifier has the following characteristics:
Consists of a unique, stable string, and is intended for use as the primary identifier of the user.
Uses the same identifier across all of the apps in the development team associated with your Apple Developer account.
Differs for the same user across different development teams, and can’t be used to identify a user across development teams.
Doesn’t change if the user stops using Sign in with Apple with your app, and later starts using it again.
关于ios - 苹果登录 : how is calculated the user id?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61333305/