MsalMemoryTokenCacheProvider Constructor

Definición

Constructor.

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

Parámetros

memoryCache
IMemoryCache

caché de serialización.

cacheOptions
IOptions<MsalMemoryTokenCacheOptions>

Opciones de caché de memoria.

Se aplica a