ios - 如何在 iOS 上实现单点登录

标签 ios objective-c single-sign-on kerberos

我是一名新的企业 iOS 开发人员。我们正在开发一个管理我们企业应用程序的应用程序(有点像应用程序商店和 MDM)。

我堆叠了一个问题:

我想为我们的企业应用程序(不使用相同的开发者 ID)实现单点登录,这意味着如果应用商店应用程序已登录,其他应用程序(涉及我们的企业应用程序平台)不需要用户再次输入 ID 和密码。

我搜索了相同的内容,并获得了一些提到共享钥匙串(keychain)和 iOS Kerberos SSO 的信息。但是共享钥匙串(keychain)不适用于由不同开发人员开发的应用程序,而且我找不到有关适用于 iOS SSO 的 Kerberos 的一些详细资源。

因此,我需要的是:

  • Kerberos SSO 适合我的情况吗?
  • 我想要一些详细的教程或文章,通过它们我可以了解如何制作 SSO 服务器以及如何配置我的 iOS 应用程序?

最佳答案

显然,iOS 8 包含证书支持,允许用户使用基于证书的单点登录来对企业应用进行身份验证。

Accounts Framework

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/

相关文章:

ios - 连接wifi时获取ios设备的IP地址

ios - UICollectionViewCell 从自定义单元格获取不明确的高度

ios - 设置SIAlertView的宽度

java - 我将如何使用 OAuth 和 Active Directory 通过 Internet 实现单点登录

android - 使用 google plus 登录

android - 在 iOS 和 Android 之间共享代码的最佳方式

ios - 在 swift 中,prepare 在 didSelectRowAt 之前调用

ios - UICollectionView CustomCell - 无法取消选择已经选定的单元格

objective-c - 为什么 NSURLConnection 在发送大量请求时会超时?

Java 从 Kerberos 票证收集用户信息