gpt4 book ai didi

c# - OAuth2 谷歌 API

转载 作者:太空狗 更新时间:2023-10-29 23:47:26 27 4
gpt4 key购买 nike

我正在寻找可以在 C# 中使用的 OAuth2 客户端 API,我遇到了谷歌:http://code.google.com/p/google-api-dotnet-client/wiki/OAuth2

它讨论了如何使用它与各种 Google 服务的 OAuth 集成,但是这个库是否也可以用于非 Google OAuth 服务?

最佳答案

可能可以使用例如OAuth2Authenticator.ApplyAuthenticationToRequest(),但这会很棘手,不值得付出努力。我宁愿建议看看 DotNetOpenAuth它支持 OAuth2(并由 StackOverflow 使用)。

关于c# - OAuth2 谷歌 API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11034425/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com