語言

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

屬性值

適用於