MSN XMPP OAuth2双向身份验证 [英] MSN XMPP OAuth2 2-legged authentication
本文介绍了MSN XMPP OAuth2双向身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用MSN XMPP将IM应用程序开发为IMGateway。
在许多示例中,应用程序需要打开Web浏览器然后登录才能获取令牌代表最终用户。
有没有办法只使用用户名和密码从OAuth2获取令牌,而无需每次登录时都打开浏览器?
解决方案
不支持收集用户的凭据以代表他们登录:
I need to develop an java application as IMGateway using MSN XMPP.
In many example, the application is required to open the web-browser and then log in to get the token represented that end-user.
Is there a way get the token from OAuth2 using only username and password without opening the browser every times on logged-in?
解决方案
Collecting a user's credentials to log in on their behalf is not supported:
这篇关于MSN XMPP OAuth2双向身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文