如何从依赖方注销? [英] How to logout from Relying Party?

查看:95
本文介绍了如何从依赖方注销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Dotnetopenid进行登录.

I am using Dotnetopenid for login.

我想使用dotnetopenid提供程序登录我的应用程序,假设是google.

I am logs in my application by using dotnetopenid provider suppose google.

注销时,我通过FormsAuthentication.SignOut();结束我的应用程序用户的会话.但是,如果我不关闭浏览器并使用google登录,则不会要求我输入ID密码,也不会将我放在我的应用安全页面上.

At the time of logout I am ending the my application user's session by FormsAuthentication.SignOut(); but if I am not closing the browser and logs in using google it will not ask me for id-password and land me on secured page of my apllication.

此外,如果我尝试gmail.com,它将直接登陆我的用户帐户,而无需询问id-password.

Also, if i will try gmail.com it will directly lands me user account without asking id-password.

那我怎么也可以从我的应用程序和google中完全注销?

So how could I logout completely from my application and google too ?

预先感谢

推荐答案

听起来您正在寻找一种注销功能,该功能将使依赖方也可以同时将用户从提供程序中注销.

It sounds like what you're looking for is a Logout feature that will allow the relying party to also log the user out of the Provider at the same time.

DotNetOpenId不提供此功能,因为OpenID本身在其规格中不具有此功能.现在根本没有办法做到这一点. OpenID社区已经就确定这种功能进行了讨论,但到目前为止还不存在.如果OpenID在其规范中添加了这样的功能,DotNetOpenId将会添加对此功能的支持.

DotNetOpenId doesn't offer this feature because OpenID itself doesn't have this feature in its spec. There's simply no way to do it right now. The OpenID community have had conversations about spec'ing out such a feature, but so far it's not there. If and when OpenID adds such a feature to its spec, DotNetOpenId will add support for it.

这篇关于如何从依赖方注销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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