CacheOptions Class

Definition

Options for MSAL token caches.

public class CacheOptions
type CacheOptions = class
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