我最近为我的asp.net(4.0)站点和自定义角色提供程序创建了一个自定义成员资格提供程序,以便我可以完全控制我的站点成员的自定义属性或属性。 但是,我还希望允许用户通过使用StackOverflow之类的OpenId提供程序“注册”成为我网站的成员。 任何人都可以指出我如何开始这个方向?
我已经为我的域名注册了一个openId帐户,他们建议使用Jarain Engage来实现各种社交网站提供商,但我更愿意使用自己开发的东西,并在我准备好时添加提供商。
I recently created a custom membership provider to my asp.net (4.0) site and a custom role provider so that I have total control over custom attributes or properties for members of my site. BUT, I also want to allow users to "sign-up" to be a member of my site via using one of the OpenId providers like on StackOverflow. Can anyone point me in the direction of how to get started on this?
I've already signed up for an openId account for my domain and they recommend Jarain Engage for implementation of the various social networking sites providers but I would prefer to use something that I develop myself and add providers when I'm ready for them.
最满意答案
此功能将在WebPages 2中出现,可能会随ASP.NET 4.5一起发布,请参阅以下链接:
http://www.asp.net/web-pages/overview/whats-new/top-features-in-web-pages-2-developer-preview#oauthsetup 。
它仍然有一点距离(现在只有CTP,测试版可能会在接下来的几个星期内登陆),但绝对值得一看,因为实现看起来非常简单。
This feature is coming in WebPages 2 which will likely be released with ASP.NET 4.5 see the following link:
http://www.asp.net/web-pages/overview/whats-new/top-features-in-web-pages-2-developer-preview#oauthsetup.
It is still a little away (only CTP right now and a beta probably landing in the next few weeks) but definitely worth a look as the implementation looks very straightforward.
更多推荐
提供,使用,providers,site,电脑培训,计算机培训,IT培训"/> <meta name="descript
发布评论