使用谷歌帐户登录/注销asp.net网站 [英] Login/logout asp.net website using google account

查看:69
本文介绍了使用谷歌帐户登录/注销asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在c#中有asp.net网站。



这个网站使用谷歌帐户登录。



我使用谷歌帐户成功登录应用程序。



但是没有退出。



我的意思是,一旦我登录,它就会让我一直登录。



任何人都可以帮助我。



参考: www.aspsnippets.com/Articles/Login-with-Google-Account-API-in-ASPNet-and-get-Google -Plus-Profile-details.aspx [ ^ ]



谢谢

解决方案

 Response.Redirect(  https://www.google.com/accounts/Logout); 


Hi guys,

I have asp.net web site in c#.

and this web site is login using google account.

I successfully login into the application using google account.

But not getting logout.

I mean, once i logged in, its keeping me logged in always.

Can any one plz help me.

Ref: www.aspsnippets.com/Articles/Login-with-Google-Account-API-in-ASPNet-and-get-Google-Plus-Profile-details.aspx[^]

Thanks

解决方案

Response.Redirect("https://www.google.com/accounts/Logout");


这篇关于使用谷歌帐户登录/注销asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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