TokenCache.SerializeUnifiedAndAdalCache 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.
Caution
This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change
Serializes the entire token cache in both the ADAL V3 and unified cache formats.
[System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)]
public Microsoft.Identity.Client.Cache.CacheData SerializeUnifiedAndAdalCache ();
[<System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)>]
abstract member SerializeUnifiedAndAdalCache : unit -> Microsoft.Identity.Client.Cache.CacheData
override this.SerializeUnifiedAndAdalCache : unit -> Microsoft.Identity.Client.Cache.CacheData
Public Function SerializeUnifiedAndAdalCache () As CacheData
Returns
Serialized token cache CacheData
Implements
- Attributes
Remarks
SerializeMsalV3()/DeserializeMsalV3(Byte[], Boolean) is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.