CacheOptions.IsInternalCacheDisabled Property

Definition

When set to true, MSAL will not read from or write to the internal in-memory token cache. This is intended for advanced scenarios where the caller manages its own token cache. Cannot be combined with UseSharedCache.

public bool IsInternalCacheDisabled { get; set; }
member this.IsInternalCacheDisabled : bool with get, set
Public Property IsInternalCacheDisabled As Boolean

Property Value

Remarks

When enabled, AcquireTokenSilent(IEnumerable<String>, IAccount) and AcquireTokenInLongRunningProcess(IEnumerable<String>, String) will throw a MsalUiRequiredException with error code InternalCacheDisabled.

Applies to