如何将注销功能添加到启用了OpenID的站点? [英] How to add logout feature to an OpenID enabled site?

查看:76
本文介绍了如何将注销功能添加到启用了OpenID的站点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将OpenID登录信息添加到了我的网站.但是我不知道如何添加注销功能.

I have recently added OpenID login to my website. But I don't know how to add the logout feature.

例如,单击登录"按钮后,我可以显示所选OpenID提供程序(例如Google帐户)的登录表单.但是,我不知道如何实现退出"按钮以退出Google帐户.

For example, on clicking the Sign In button I am able to show the login form of the selected OpenID provider, for example Google Account. However, I don't know how to implement a Sign Out button to sign out of the Google Account.

请咨询.

推荐答案

OpenID依赖方无法将用户从OP中注销,您只能实现本地注销.就像RP无法将用户登录到OP.

OpenID relying party can't log user out of OP, you can only implement local logout. Just like RP can not log user into OP.

这篇关于如何将注销功能添加到启用了OpenID的站点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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