且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IOS单点登录认证需要LinkedIn App

更新时间:2023-12-03 10:24:40

您能否测试链接的应用程序是否存在:

Could you test for the presence of the linked-in app:

  • 如果不存在:直接通过您的应用实现 OAuth2
  • 如果存在:使用它或您的 OAuth2 实现(您可能会错误地使用他们的应用来实现您可能需要的应用的任何功能之间的链接能力).

从而避免安装应用程序的要求.

Thereby avoiding the REQUIREMENT to have the app installed.

对此我进行了研究:

移动端访问令牌与服务器端访问令牌

目前,没有可用的机制来交换它们.如果你需要可在移动端和服务器端使用的令牌环境,您将需要实施传统的 OAuth 2.0在您的 iOS 环境中获取令牌的解决方案在这两种情况下都可以利用.

Presently, there is no mechanism available to exchange them. If you require tokens that can be used in both the mobile and server-side environment, you will need to implement a traditional OAuth 2.0 solution within your iOS environment to acquire tokens that can be leveraged in both situations.

来自:https://developer.linkedin.com/docs/ios-sdk-认证

这表明支持远离应用程序的身份验证.

which suggests that authentication away from the app is supported.