コード例 #1
0
 public PersistedGrantDbContext CreateDbContext(string[] args)
 {
     return(new PersistedGrantDbContext(
                CTX.ToOpts <PersistedGrantDbContext>(CTX.GetPwd(), "grants"),
                new OperationalStoreOptions()
                ));
 }
コード例 #2
0
 public ConfigurationDbContext CreateDbContext(string[] args)
 {
     return(new ConfigurationDbContext(
                CTX.ToOpts <ConfigurationDbContext>(CTX.GetPwd(), "clients"),
                new ConfigurationStoreOptions()));
 }
コード例 #3
0
 public UserStoreDbContext CreateDbContext(string[] args)
 {
     return(new UserStoreDbContext(CTX.ToOpts <UserStoreDbContext>(CTX.GetPwd(), "users")));
 }