语言

CacheOptions.DisableInternalCacheOptions 属性

定义

完全禁用 MSAL 内部内存中令牌缓存的选项。 当应用程序管理自己的令牌缓存生命周期时,请使用此功能。

设置时:

对于机密客户端流,检索刷新令牌, GetRefreshToken(AuthenticationResult) 并调用 AcquireTokenByRefreshToken(IEnumerable<String>, String) 以在后续请求上重新获取令牌,或使用另一个交互式流。

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

属性值

适用于