简体   繁体   English

OAuth2 Google API

[英]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 我正在寻找可以在C#中使用的OAuth2客户端API,我遇到了谷歌: 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? 它讨论了如何使用它与OAuth集成各种Google服务,但此库是否也可用于非Google OAuth服务?

You probably can use for example OAuth2Authenticator.ApplyAuthenticationToRequest() but it will be tricky and not worth the effort. 可能可以使用例如OAuth2Authenticator.ApplyAuthenticationToRequest()但这将是棘手的,不值得努力。 I would rather suggest taking a look at DotNetOpenAuth which supports OAuth2 (and is used by StackOverflow). 我宁愿建议看看支持OAuth2的DotNetOpenAuth (由StackOverflow使用)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM