It seems like many app providers are using OAuth2 to allow API access, such as Twitter and Facebook. Does anyone use a good library to do OAuth2 processing that is general enough to use across all applications?
I didn't look into it's internals (source code link is broken), but in general DotNetOpenAuth seems to be quite professional.
Update: OAuth 2 and OpenID are now supported as well.
IdentityServer4
? –
Pneumoconiosis You should look on OAuth2. It is .NET implementation of OAuth 1.0 and OAuth 2.0 protocol for most of the popular providers:
- foursquare
- linked-in
- windows live
- vkontakte
- odnoklassniki
- yandex
- mail.ru
- github
Nuget package is there.
I haven't seen any good frameworks out there yet for OAuth2. I've decided to try and roll my own for a project.
My framework so far supports bearer tokens and all of the oauth 2 flows (challenge/response, implicit, client credential, resource owner password, and refresh token).
It's a little clunky, and I'm working on my first REST service built on this framework.
Check it out, any feedback or contributions would be appreciated.
I would look at the Hammock REST client library. It is general purpose REST client, but it provides OAuth support as well.
© 2022 - 2024 — McMap. All rights reserved.