开发者

Is there an ASP.MVC 3 sample project or nuget package for Open ID / Facebook / Live authentication?

Before I reinvent the wheel, ASP.Net MVC 3 Tools Update includes an Internet Application (with Forms based login) and Intranet Application (with Active Directory login) does anyone have an MVC 3 project template, or controller/model, or Nuget package for Open ID / Facebook / MS live based logins?

I'm capable of tracking down the API 开发者_如何转开发libraries for Facebook, Yahoo, Google and Microsoft and building my own, but before I start from scratch, I just wanted to see if someone already had a starter project or Nuget package that implemented that form of authentication. I'd rather support that project than start my own if I could.

Thanks :-) Dan


Try DotNetOpenAuth


Nuget.org has a gallery you can explore. Searching for OpenID and Facebook showed several packages that will likely get you close to what you want. I'm not sure you will find a package that does them all but you should be able to grab them individually and then setup something in your code to allow logins from each.

http://nuget.org/List/Search?packageType=Packages&searchCategory=All+Categories&searchTerm=openid&sortOrder=package-download-count&pageSize=10

http://nuget.org/List/Search?packageType=Packages&searchCategory=All+Categories&searchTerm=facebook&sortOrder=package-download-count&pageSize=10

Here's how someone tackled the traversing of logins to one auth store in his system....

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜