我试图在持久化数据库中使用IdentityServer4。我有甲骨文数据库。我计划扩展ConfigurationDbContext和PersistedGrantDbContext,以便进行一些特定于甲骨文的定制。public class IdentityConfigurationDbContext : ConfigurationDbContext {
public IdentityConfigurationDbContext(DbContextOptions<ConfigurationDbContex
我有一个DbContext,它是Identityserver4的一部分,我对实体框架非常陌生。namespace IdentityServer4.EntityFramework.DbContexts public class ConfigurationDbContext : DbContext, IConfigurationDbContext, IDisposable public ConfigurationDbContext(DbContextOptions<ConfigurationDb
我期待自定义IdentityServer4从数据库加载外部身份提供者。我想将ConfigurationDBContext扩展到包含DbSet of Saml2Provider。在我的启动中,我想自动添加Saml2Provider。理想情况下,我希望在idsvr4登录页面中刷新可用的提供者列表,而不必重新启动应用程序。的尝试:
public class IdSrvConfigurationDbContext : ConfigurationDbContext<IdSr
我一直在努力寻找最佳/首选的方法是让我的RoleService获得一个ConfigurationDbContext (IdentityServer4)。我真的想要解耦,这样我的RoleService就可以测试了。我发现访问ConfigurationDbContext的唯一方法是在Startup.cs中创建一个public static IServiceProvider。PROPERTY I USED
public static IServiceProv