简体   繁体   English

iOS应用间通信以验证其他应用的登录信息

[英]iOS inter app communication to authenticate the other app's login

I am trying to make an app which would communicate with my other app. 我正在尝试制作一个可以与其他应用程序通信的应用程序。 It should work like the Facebook app and facebook messenger. 它应该像Facebook应用程序和Facebook Messenger一样工作。

I have an app already installed and logged in with username and password authenticated. 我已经安装了一个应用程序,并使用已验证的用户名和密码登录。 I installed another app from my organization which would have a login screen. 我从组织安装了另一个应用程序,该应用程序将具有登录屏幕。 I would like to automatically authenticate this second app with the credential of the first app. 我想使用第一个应用程序的凭据自动验证第二个应用程序。

Could someone help me on this? 有人可以帮我吗? Thanks in advance. 提前致谢。

One possibility dont know really works or not, using URL schema. 一种可能是,不知道使用URL架构是否真的有效。 Check if app is installed if yes then fire a web service which will send device token for asking if any user is logged on this device currently if yes then use same name and pass from your server help. 检查是否安装了应用程序,然后启动一个Web服务,该服务将发送设备令牌以询问当前是否在该设备上登录了任何用户(如果是),则使用相同的名称并从您的服务器帮助中传递。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM