Skip to content

Commit db10333

Browse files
authored
Removing the SQL cache
which got deleted as it's possible to use a distributed cache with a SQL implementation (out of the box in ASP.NET Core)
1 parent 6f3692c commit db10333

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: Microsoft.Identity.Web/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ For web apps that calls web apis, and web APIs that call downstream APIs, the co
267267
| Extension Method | Microsoft.Identity.Web sub Namespace | Description |
268268
| ---------------- | --------- | ------------ |
269269
| `AddInMemoryTokenCaches` | `TokenCacheProviders.InMemory` | In memory token cache serialization. This implementation is great in samples. It's also good in production applications provided you don't mind if the token cache is lost when the web app is restarted. `AddInMemoryTokenCaches` takes an optional parameter of type `MsalMemoryTokenCacheOptions` that enables you to specify the duration after which the cache entry will expire unless it's used.
270-
| `AddSqlTokenCaches` | `TokenCacheProviders.Sql` | The token cache maintained in a SQL database. This implementation is ideal for production applications that need to keep their token caches. AddSqlTokenCaches takes a parameter of type `MsalSqlTokenCacheOptions` that let you specify the SQL connection string
271270
| `AddSessionTokenCaches` | `TokenCacheProviders.Session` | The token cache is bound to the user session. This option isn't ideal if the ID token is too large because it contains too many claims as the cookie would be too large.
272271
| `AddDistributedTokenCaches` | `TokenCacheProviders.Distributed` | The token cache is an adapter against the ASP.NET Core `IDistributedCache` implementation, therefore enabling you to choose between a distributed memory cache, a Redis cache, or a SQL Server cache. For details about the IDistributedCache` implementations, see https://docs.microsoft.com/aspnet/core/performance/caching/distributed?view=aspnetcore-2.2#distributed-memory-cache.
273272

0 commit comments

Comments
 (0)