微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

asp.net-mvc – 如何在asp.net mvc3项目中开始使用openID?

我想为我的网站(在asp.net mvc3中)提供身份验证机制,首先通过我的网站选择openID另一个选项.我不知道如何从dotnetopenid开始,因为它没有一个好的文档或一些指导从它开始.是否有任何可视文档或任何有用的分步资源.另一个问题:我想要google和yahoo openID身份验证,使用它们有什么区别吗?!

坦克很多你的建议

解决方法

您可能比从Visual Studio库下载 ASP.NET MVC 2 OpenID web site (C#)模板更糟糕.

A C# ASP.NET MVC project template to
get you on a strong start on a web
site that accepts OpenID. An OAuth
service provider is also included so
that clients can access user data with
user authorization and without a
password.

还有一个名为Html5-MVC3-BP-OpenAuth的模板,描述如下:

This template creates an MVC3 Razor
project with Html5 Boilerplate from
Paul Irish. Also includes the
DotNetopenAuth CTP for authentication
via OpenId,Twitter (OAuth) or
Facebook (OAuth2).

或者在Codeplex上查看MvcOpenID – An OpenID Starter Kit for ASP.NET MVC

“MvcopenID is an OpenID starter kit for ASP.NET MVC. It is first and foremost a learning tool. I’ve learned a lot about OpenID while developing this and commented the code a lot. Running the application and stepping through the code is the best and probably the fastest way to learn. Apart from it’s educational value you can also use it as a starter kit for your ASP.NET MVC based web applications.”

原文地址:https://www.jb51.cc/aspnet/245652.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐