CacheOptions Class

Definition

Options for MSAL token caches.

C#
public class CacheOptions
Inheritance
CacheOptions

Remarks

Detailed cache guidance for each application type and platform, including L2 options: https://aka.ms/msal-net-token-cache-serialization

Constructors

CacheOptions()

Constructor for the options with default values.

CacheOptions(Boolean)

Constructor

Properties

EnableSharedCacheOptions

Recommended options for using a static cache.

UseSharedCache

Share the cache between all ClientApplication objects. The cache becomes static. Defaults to false.

Applies to

Produto Versións
Microsoft Authentication Library for .NET (MSAL.NET) latest