Andy
Andy

Reputation: 8562

OAuth2 Google API

I'm looking for an OAuth2 client API I can use in C#, and I came across Googles: http://code.google.com/p/google-api-dotnet-client/wiki/OAuth2

It talks about how to use it to integrate with OAuth for various Google services, but can this library also be used for non-Google OAuth services?

Upvotes: 5

Views: 2710

Answers (1)

Pol
Pol

Reputation: 5134

You probably can use for example OAuth2Authenticator.ApplyAuthenticationToRequest() but it will be tricky and not worth the effort. I would rather suggest taking a look at DotNetOpenAuth which supports OAuth2 (and is used by StackOverflow).

Upvotes: 1

Related Questions