TokenCache.DeserializeUnifiedAndAdalCache(CacheData) 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
Deserializes the token cache from a serialization blob in both format (ADAL V3 format, and unified cache format)
[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 void DeserializeUnifiedAndAdalCache (Microsoft.Identity.Client.Cache.CacheData cacheData);
[<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 DeserializeUnifiedAndAdalCache : Microsoft.Identity.Client.Cache.CacheData -> unit
override this.DeserializeUnifiedAndAdalCache : Microsoft.Identity.Client.Cache.CacheData -> unit
Public Sub DeserializeUnifiedAndAdalCache (cacheData As CacheData)
Parameters
- cacheData
- CacheData
Array of bytes containing serialize cache data
Implements
- Attributes
Remarks
SerializeMsalV3()/DeserializeMsalV3(Byte[], Boolean) is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for