【发布时间】:2019-12-06 07:35:43
【问题描述】:
当使用 Sign in with Apple 时,有一个 ASPasswordCredential 选项可以从 iCloud 钥匙串中提取密码。尽管在钥匙串中存储东西的“位置”上,我找不到详细信息。即我如何知道在哪些密钥下存储用户或密码详细信息。
【问题讨论】:
标签: swift icloud keychain apple-sign-in
当使用 Sign in with Apple 时,有一个 ASPasswordCredential 选项可以从 iCloud 钥匙串中提取密码。尽管在钥匙串中存储东西的“位置”上,我找不到详细信息。即我如何知道在哪些密钥下存储用户或密码详细信息。
【问题讨论】:
标签: swift icloud keychain apple-sign-in
它似乎与密码自动填充有关,自 iOS 12 起可用(请参阅https://developer.apple.com/documentation/authenticationservices 中的基于密码的登录部分)。 因此,如果您的应用已经具备此功能,您可以将现有用户与其新的 Apple ID 帐户相关联。
【讨论】:
The other possibility, when using Sign In with Apple, is the end user will select credentials which are already stored in the iCloud keychain for the site.