C# library to authenticate users against your own database, facebook, twitter, OpenID, [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI am looking for an open-source C# library with flexible licencing to use in an ASP.NET MVC appl开发者_JAVA百科ication.
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?
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
I doubt there is a library that could work against all the possible sites you can list. You could use DotNetOpenAuth for OpenID.
精彩评论