【问题标题】:Get Clients and Scopes from database in identity server 4从身份服务器 4 中的数据库获取客户端和范围
【发布时间】:2017-02-14 18:32:41
【问题描述】:

我想从数据库中读取范围和客户端,而不是 Identity Server 4 中的 InMemoryClients 和 InMemoryScopes。我阅读了 question,但它是关于身份版本 3 的,我找不到 v3 中存在的 IScopeStoreIClientStore 接口。我该怎么做?

【问题讨论】:

    标签: asp.net-core identityserver4


    【解决方案1】:

    IClientStore 仍然存在,在 IdentitServer4.Stores 命名空间内。

    我没有使用过IScopeStore,但随着 Dominicks 博客 (https://leastprivilege.com/2016/12/01/new-in-identityserver4-resource-based-configuration/) 中谈到的更改,我怀疑它已被 IResourceStore(相同的命名空间)取代。

    【讨论】:

      猜你喜欢
      • 2018-01-24
      • 1970-01-01
      • 1970-01-01
      • 2015-09-30
      • 2021-10-28
      • 2020-08-16
      • 1970-01-01
      • 2012-08-28
      • 2011-11-04
      相关资源
      最近更新 更多