我是一名新的企业 iOS 开发人员。我们正在开发一个管理我们企业应用程序的应用程序(有点像应用程序商店和 MDM)。
我堆叠了一个问题:
我想为我们的企业应用程序(不使用相同的开发者 ID)实现单点登录,这意味着如果应用商店应用程序已登录,其他应用程序(涉及我们的企业应用程序平台)不需要用户再次输入 ID 和密码。
我搜索了相同的内容,并获得了一些提到共享钥匙串(keychain)和 iOS Kerberos SSO 的信息。但是共享钥匙串(keychain)不适用于由不同开发人员开发的应用程序,而且我找不到有关适用于 iOS SSO 的 Kerberos 的一些详细资源。
因此,我需要的是:
- Kerberos SSO 适合我的情况吗?
- 我想要一些详细的教程或文章,通过它们我可以了解如何制作 SSO 服务器以及如何配置我的 iOS 应用程序?
最佳答案
显然,iOS 8 包含证书支持,允许用户使用基于证书的单点登录来对企业应用进行身份验证。
The Accounts framework (Accounts.framework) provides a single sign-on model for certain user accounts. Single sign-on improves the user experience by eliminating the need to prompt the user separately for multiple accounts. It also simplifies the development model for you by managing the account authorization process for your app. You use this framework in conjunction with the Social framework.
所以你应该看看Accounts Framework Reference
关于ios - 如何在 iOS 上实现单点登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30343728/