【问题标题】:how to pass clientid and client secret in oauth2.0 in c#c#中如何在oauth2.0中传递clientid和client secret
【发布时间】:2018-01-06 21:23:29
【问题描述】:

这里我使用外部天气 api 来获取天气信息。我通过传递客户端 ID、客户端密码、访问令牌 url 和授权类型轻松地在邮递员中配置我的 api。但我无法将所有这些配置到我的 c# 代码中。

谁能帮我在c#中配置上述参数

【问题讨论】:

    标签: c# oauth-2.0 asp.net-web-api2


    【解决方案1】:

    有许多库可以帮助您使用 oauth api。请参阅IdentityModelhttps://github.com/titarenko/OAuth2

    【讨论】:

      猜你喜欢
      • 2013-12-27
      • 2017-10-07
      • 1970-01-01
      • 2022-11-25
      • 2021-03-12
      • 1970-01-01
      • 1970-01-01
      • 2016-07-06
      • 2020-02-18
      相关资源
      最近更新 更多