CacheOptions.IsInternalCacheDisabled Property
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.
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.