且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在ASP.Net应用程序中实现Passport身份验证

更新时间:2022-11-06 18:43:13

如何谷歌



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 [ ^ ]