如何访问startup.cs类中的数据库?

时间:2019-06-27 02:56:31

标签: c# authentication asp.net-core-2.0 identityserver4

以下是我的应用程序结构:

  • IdentityServer(用于IdentityServerDB实体)
  • WebAPI(对于WebAPIDB实体)

我们正在使用管理UI添加外部登录提供程序(Azure AD,ADFS)。这些登录详细信息存储在Web API数据库中。现在,我们希望将这些详细信息提取到Identity Server StartUp类中。我们如何获取这些记录?

0 个答案:

没有答案
相关问题