[英]How to implement Single Sign-On on iOS
I am a new enterprise iOS developer. 我是一名新的企业iOS开发人员。 We are developing an app that is managing our enterprise apps(somehow like a app store&MDM). 我们正在开发一个管理我们的企业应用程序的应用程序(某种程度上像应用程序商店和MDM)。
I stacked by a issue : 我堆积了一个问题:
I want to implement Single Sign-On for our enterprise Apps (Not with the same Developer ID), which means if the app-store App is signed in, the other apps(involved in our enterprise app platform) do not need users to enter ID & PassWord again. 我想为我们的企业应用程序实现单点登录(不具有相同的开发者ID),这意味着如果应用程序商店应用程序已登录,则其他应用程序(涉及我们的企业应用程序平台)不需要用户输入ID和PassWord再次。
I have searched for the same and I got some information which mentioned sharing keychain and iOS Kerberos SSO. 我搜索了同样的内容,我得到了一些提到共享keychain和iOS Kerberos SSO的信息。 But sharing the keychain is not available for apps developed by different Developers and I cannot find some detailed resource about Kerberos for iOS SSO. 但共享密钥链不适用于由不同开发人员开发的应用程序,我找不到一些关于Kerberos for iOS SSO的详细资源。
Therefore, what I need is: 因此,我需要的是:
Apparently iOS 8 includes a certificate-support that allows the use of certificate-based single sign-on for users to authenticate to enterprise apps. 显然,iOS 8包含证书支持,允许用户使用基于证书的单点登录对企业应用进行身份验证。
The Accounts framework (Accounts.framework) provides a single sign-on model for certain user accounts. Accounts框架(Accounts.framework)为某些用户帐户提供单一登录模型。 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. 您将此框架与Social框架结合使用。
So you should take a look in Accounts Framework Reference 所以你应该看看帐户框架参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.