AbstractApplicationBuilder<T>.WithLegacyCacheCompatibility Method
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.
Enables legacy ADAL cache serialization and deserialization.
public T WithLegacyCacheCompatibility (bool enableLegacyCacheCompatibility = true);
member this.WithLegacyCacheCompatibility : bool -> 'T
Public Function WithLegacyCacheCompatibility (Optional enableLegacyCacheCompatibility As Boolean = true) As T
Parameters
- enableLegacyCacheCompatibility
- Boolean
Enable legacy ADAL cache compatibility.
Returns
The builder to chain the .With methods.
Remarks
ADAL is a previous legacy generation of MSAL.NET authentication library. If you don't use .WithLegacyCacheCompatibility(false)
, then by default, the ADAL cache is used (along with MSAL cache). true
flag is only needed for specific migration scenarios from ADAL.NET to MSAL.NET when both library versions are running side-by-side. To improve performance add .WithLegacyCacheCompatibility(false)
unless you care about migration scenarios.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應