File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -123,20 +123,15 @@ public void ConfigureServices(IServiceCollection services)
123
123
{
124
124
//use quartz to prune old SAML messages every 14 days.
125
125
builder . PruneSamlMessages ( ) ;
126
+ builder . PruneSamlArtifacts ( ) ;
126
127
127
128
//Already added the DbContext above
128
129
builder . UseSamlEntityFrameworkCore ( )
129
- . AddSamlMessageDbContext ( optionsBuilder =>
130
- {
131
- //Configure the database provider to use.
132
- optionsBuilder . UseSqlServer ( defaultConnectionString , x => x . MigrationsAssembly ( typeof ( Startup ) . Assembly . FullName ) ) ;
133
- } )
134
- . AddSamlConfigurationDbContext ( optionsBuilder =>
135
- {
136
- //Configure the database provider to use.
137
- optionsBuilder . UseSqlServer ( defaultConnectionString ,
138
- x => x . MigrationsAssembly ( typeof ( Startup ) . Assembly . FullName ) ) ;
139
- } ) ;
130
+ . AddSamlDbContexts ( optionsBuilder =>
131
+ {
132
+ //Configure the database provider to use.
133
+ optionsBuilder . UseSqlServer ( defaultConnectionString , x => x . MigrationsAssembly ( typeof ( Startup ) . Assembly . FullName ) ) ;
134
+ } ) ;
140
135
141
136
builder . ConfigureSamlOpenIddictServerOptions ( serverOptions =>
142
137
{
You can’t perform that action at this time.
0 commit comments