Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 568
Andy Avatar asked Nov 14 '22 03:11

Andy


1 Answers

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).

like image 112
Pol Avatar answered Dec 10 '22 13:12

Pol