File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Microsoft.Identity.Web/Client/TokenCacheProviders/Sql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public static IServiceCollection AddSqlAppTokenCache(this IServiceCollection ser
53
53
// Uncomment the following lines to create the database. In production scenarios, the database
54
54
// will most probably be already present.
55
55
//var tokenCacheDbContextBuilder = new DbContextOptionsBuilder<TokenCacheDbContext>();
56
- //tokenCacheDbContextBuilder.UseSqlServer(configuration.GetConnectionString("TokenCacheDbConnStr") );
56
+ //tokenCacheDbContextBuilder.UseSqlServer(sqlTokenCacheOptions.SqlConnectionString );
57
57
58
58
//var tokenCacheDbContext = new TokenCacheDbContext(tokenCacheDbContextBuilder.Options);
59
59
//tokenCacheDbContext.Database.EnsureCreated();
@@ -84,7 +84,7 @@ public static IServiceCollection AddSqlPerUserTokenCache(this IServiceCollection
84
84
// Uncomment the following lines to create the database. In production scenarios, the database
85
85
// will most probably be already present.
86
86
//var tokenCacheDbContextBuilder = new DbContextOptionsBuilder<TokenCacheDbContext>();
87
- //tokenCacheDbContextBuilder.UseSqlServer(configuration.GetConnectionString("TokenCacheDbConnStr") );
87
+ //tokenCacheDbContextBuilder.UseSqlServer(sqlTokenCacheOptions.SqlConnectionString );
88
88
89
89
//var tokenCacheDbContext = new TokenCacheDbContext(tokenCacheDbContextBuilder.Options);
90
90
//tokenCacheDbContext.Database.EnsureCreated();
You can’t perform that action at this time.
0 commit comments