Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# library to authenticate users against your own database, facebook, twitter, OpenID, [closed]

I am looking for an open-source C# library with flexible licencing to use in an ASP.NET MVC application.

It should be able to authenticate users against a local database, facebook, twitter, OpenID or other popular authentication methods.

Is there such a library available?

like image 609
xraminx Avatar asked Mar 13 '11 21:03

xraminx


2 Answers

This is exactly what one of the goals of Windows Identity Foundation (WIF) is. It allows you to abstract your authentication code away with different providers. They have a very complete developer training kit, and there are modules avaiable to authenticate with all kinds of different protocols (OpenID, OAuth, Facebook, LiveID...) or you can use ACS to provide the abstraction around all the different protocols.

For even more information see these:

  • http://claimsid.codeplex.com/
  • http://blogs.msdn.com/b/vbertocci/
  • http://channel9.msdn.com/Learn/Courses/IdentityTrainingCourse
like image 67
Jake Avatar answered Nov 08 '22 21:11

Jake


I doubt there is a library that could work against all the possible sites you can list. You could use DotNetOpenAuth for OpenID.

like image 39
Darin Dimitrov Avatar answered Nov 08 '22 21:11

Darin Dimitrov