CacheOptions.DisableInternalCacheOptions Property

Definition

Options that disable MSAL's internal in-memory token cache entirely. Use this when your application manages its own token cache lifecycle.

When set:

For confidential client flows, retrieve the refresh token using GetRefreshToken(AuthenticationResult) and call AcquireTokenByRefreshToken(IEnumerable<String>, String) to re-acquire a token on subsequent requests, or use another interactive flow.

public static Microsoft.Identity.Client.CacheOptions DisableInternalCacheOptions { get; }
static member DisableInternalCacheOptions : Microsoft.Identity.Client.CacheOptions
Public Shared ReadOnly Property DisableInternalCacheOptions As CacheOptions

Property Value

Applies to