Język

MsalMemoryTokenCacheProvider Konstruktor

Definicja

Konstruktor.

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))

Parametry

memoryCache
IMemoryCache

pamięć podręczna serializacji.

cacheOptions
IOptions<MsalMemoryTokenCacheOptions>

Opcje pamięci podręcznej.

Dotyczy