ios - 苹果登录 : how is calculated the user id?

标签 ios iphone xcode macos apple-sign-in

返回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/

相关文章:

ios - Swift - 想要在单击 Collection View 单元格内的按钮时进行更改

ios - 图像继续快速重新加载到 Collection View 单元格中

ios - 为什么 iOS 模拟器在实际启动屏幕出现之前会出现白屏

ios - 处理带有从挂起状态返回的身份验证 token 的 iOS 应用程序的最佳方法是什么?

ios - 如何在自定义 UICollectionViewLayout 中仅允许垂直和水平滑动

iPhone UITableView 创建部分

ios - 用户登录时 PopToRootViewController 不更新 collectionview

iphone - 键盘滑出导致 UIWebView 左移

ios - indexpath.row 是否负责迭代数组?

iphone - 如何在iOS中使用正则表达式获取匹配项?