【问题标题】:Multi access token type in IdentityServer4IdentityServer4 中的多访问令牌类型
【发布时间】:2019-01-14 03:05:28
【问题描述】:

我们有一个 API,每个用户都可以拥有多个页面。 我想分别授予客户访问权限。 类似于 Facebook 多访问令牌类型。 我如何在 IdentityServer 中实现这一点?

【问题讨论】:

    标签: oauth-2.0 asp.net-core-2.0 identityserver4 openid-connect


    【解决方案1】:

    如果你需要限制客户端的 api 访问,你应该采取的方式是使用范围(api scopes)。

    查看文档如何限制范围:https://identityserver4.readthedocs.io/en/release/topics/apis.html#validating-scopes

    【讨论】:

      猜你喜欢
      • 2018-06-14
      • 2018-09-23
      • 2018-06-08
      • 1970-01-01
      • 1970-01-01
      • 2018-05-11
      • 2022-01-22
      • 2019-02-07
      • 2018-10-26
      相关资源
      最近更新 更多