MsalMemoryTokenCacheProvider Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.