Share via


TokenCache.DeserializeUnifiedAndAdalCache(CacheData) Method

Definition

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