MsalMemoryTokenCacheProvider Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Constructeur.
public MsalMemoryTokenCacheProvider(Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache, Microsoft.Extensions.Options.IOptions<Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheOptions> cacheOptions);
new Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider : Microsoft.Extensions.Caching.Memory.IMemoryCache * Microsoft.Extensions.Options.IOptions<Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheOptions> -> Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider
Public Sub New (memoryCache As IMemoryCache, cacheOptions As IOptions(Of MsalMemoryTokenCacheOptions))
Paramètres
- memoryCache
- IMemoryCache
cache de sérialisation.
- cacheOptions
- IOptions<MsalMemoryTokenCacheOptions>
Options de cache de mémoire.