如何在ASP.Net应用程序中实现Passport身份验证 [英] How to implement Passport Authentication in ASP.Net application

查看:127
本文介绍了如何在ASP.Net应用程序中实现Passport身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要在asp.net应用程序中实现护照身份验证。请帮助

Need to implement passport authentication in asp.net application. Please help

推荐答案

如何谷歌



http://msdn.microsoft.com/en-us/library/b0ctef6w%28v=vs.85%29.aspx [ ^ ]



http://www.devx .com / security / Article / 17483 [ ^ ]





编辑:



实际上,没有MS放弃这个作为他们提供的服务,或者正在逐步淘汰它?



你可能更好地提供某种基于OAuth的身份验证,使用谷歌\ Facebook凭据。



查看OAuth
How to Google

http://msdn.microsoft.com/en-us/library/b0ctef6w%28v=vs.85%29.aspx[^]

http://www.devx.com/security/Article/17483[^]




Actually, didn't MS drop this as a service they provide, or are in the process of phasing it out?

You're probably better offering some sort of OAuth based authentication, using either Google \ Facebook credentials.

Have a look at OAuth


参考这个 [ ^ ]文章,您将非常好地解释如何使用ASP.NET在Web应用程序中实现.NET Passport身份验证。您将获得实现 .NET Passport身份验证所需的步骤。



什么是Passport身份验证?



护照身份验证使用Microsoft的护照服务提供身份验证

如果配置了护照身份验证并且用户使用护照登录,那么身份验证职责将被卸载到护照服务器。



护照使用加密的cookie机制来指示经过身份验证的用户。护照用户被认为是经过身份验证,而其余用户被重定向到护照服务器登录,之后他们被重定向回网站。
Refer this [^]article, you'l get really very good explanation of how you can implement .NET Passport Authentication in Web applications using ASP.NET. You will get the steps that are required to implement .NET Passport Authentication.

What is Passport authentication?

Passport authentication provides authentication using Microsoft’s passport service.
If passport authentication is configured and users login using passport then the authentication duties are off-loaded to the passport servers.

Passport uses an encrypted cookie mechanism to indicate authenticated users. The passport users are considered authenticated while the rest are redirected to the passport servers to log in, after which they are redirected back to the site.


伙计



检查此链接是否有解决方案



http://www.extremeexperts.com/net/articles/implementingpassportauth.aspx [ ^ ]


这篇关于如何在ASP.Net应用程序中实现Passport身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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