如何在iOS上实现单点登录 [英] How to implement Single Sign-On on iOS

查看:312
本文介绍了如何在iOS上实现单点登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名新的企业iOS开发人员。我们正在开发一款管理我们企业应用程序的应用程序(不知怎的,就像app store& MDM)。

I am a new enterprise iOS developer. We are developing an app that is managing our enterprise apps(somehow like a app store&MDM).

我堆积了一个问题:

我想为我们的企业应用实施单点登录(不具有相同的开发者ID),这意味着如果应用商店应用已登录,其他应用(参与我们的企业应用平台)不需要用户输入ID& PassWord再次。

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.

我搜索了同样的内容,我得到了一些提到共享钥匙串和iOS Kerberos SSO的信息。但共享密钥链不适用于由不同开发人员开发的应用程序,我无法找到有关Kerberos for iOS SSO的详细资源。

I have searched for the same and I got some information which mentioned sharing keychain and 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 SSO是否正常?

  • 我想要一些详细的教程或文章,通过它我可以学习如何制作SSO服务器以及如何配置我的iOS应用程序?

推荐答案

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

Apparently iOS 8 includes a certificate-support that allows the use of certificate-based single sign-on for users to authenticate to enterprise apps.


帐户框架

Accounts Framework

帐户框架(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.

所以你应该看看帐户框架参考

这篇关于如何在iOS上实现单点登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆