如何使用C#应用程序将Google帐户的oauth实现到我的asp.net中? [英] How do I implement oauth for google account into my asp.net with C# application?

查看:61
本文介绍了如何使用C#应用程序将Google帐户的oauth实现到我的asp.net中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过C#.net应用程序将Google帐户的oauth实现到我的Asp.Net中。我的应用程序不在MVC中,它位于一个普通的asp.net应用程序中。在我的应用程序中,在登录页面上我只想检查用户是否登录到谷歌帐户,如果是,则用户将被重定向到我的应用程序默认页面,如果没有登录,则用户将在我的应用程序登录页面上。 />


如果有任何人有解决方案,请回复我。



提前致谢。

I want to implement oauth for google account into my Asp.Net with C#.net application. My application is not in MVC, It is in a plain asp.net application. In my application, on login page I just want to check whether user is logged in to google account and if yes then user will be redirected to my application default page and if not logged in then user will be on my application login page.

Please reply back me if any one has solution for this.

Thanks in advance.

推荐答案

使用DotNet Openauth库。



http ://dotnetopenauth.net/ [ ^ ]
Use DotNet Openauth library.

http://dotnetopenauth.net/[^]


这篇关于如何使用C#应用程序将Google帐户的oauth实现到我的asp.net中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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