Integrating OAuth with .Net
I am currently using Facebook Connect and have plans to use other sources for user authentication (ie. Google). How do I integrate it with .N开发者_如何学JAVAET? I want to do things such as be able to get the currently logged in user, authorize a user when they attempt to do an action (similar to standard authorization attributes), etc.
I don't really know where to start. I have my own table in the database for storing user information such as their ID, access token, and time until the access token expires. Right now I do all OAuth stuff client-side via javascript.
Also, I am creating a single page website. That is probably an important detail.
Have you looked at DotNetOpenAuth?
http://www.dotnetopenauth.net/
精彩评论