MsalMemoryTokenCacheProvider Constructor

Definition

Overloads

MsalMemoryTokenCacheProvider(IMemoryCache, IOptions<MsalMemoryTokenCacheOptions>)

Constructor.

MsalMemoryTokenCacheProvider(IMemoryCache, IOptions<MsalMemoryTokenCacheOptions>)

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

Parameters

memoryCache
IMemoryCache

serialization cache.

cacheOptions
IOptions<MsalMemoryTokenCacheOptions>

Memory cache options.

Applies to