如何使用 android 使用 authrequest 登录 LinkedIn? [英] how to sign out in LinkedIn using authrequest using android?

查看:36
本文介绍了如何使用 android 使用 authrequest 登录 LinkedIn?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一款与linkedIn 集成的应用程序..!我使用 OAuth 服务在 LinkedIn 中进行登录身份验证以发布网络更新..但现在如何自动注销(取消身份验证)到 LinkedIn?

i developed one app integrated with linkedIn..! i do SignIn authentication in linkedIn using OAuth Service to post the Network Update..but now how to sign out (de-authenticate) to the LinkedIn automatically?

感谢您的建议..

推荐答案

根据官方博客

令牌失效

现在您可以使应用程序的 OAuth 令牌无效.只需将 OAuth 签名的 GET 请求发送至:

Now you can invalidate an OAuth token for your application. Just send an OAuth signed GET request to:

https://api.linkedin.com/uas/oauth/invalidateToken

200 响应表示令牌已成功失效.

A 200 response indicates that the token was successfully invalidated.

但是根据这个:

第三方应用程序无法将用户从LinkedIn - 这是由网站控制的.使令牌无效使用户下次尝试使用时重新授权应用程序,但是一旦他们登录到 LinkedIn 他们的浏览器将保持登录状态,直到他们通过网站退出.

Third party applications do not have any way to log a user out from LinkedIn - this is controlled by the website. Invalidating the token makes the user re-authorize the next time they try to use the application, but once they have logged into LinkedIn their browser will remain logged in until they log out via the website.

所以总而言之:截至撰写本文时,Linked In 不支持第 3 方应用程序

So In conclusion : as of this date of writing, Linked In does not give this support to 3rd Party Applications

这篇关于如何使用 android 使用 authrequest 登录 LinkedIn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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