Cache. Deserialize MsalV2(Byte) Method
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.
Deserializes parts of the token cache to the MSAL.NET 2.x cache format, which is compatible with ADAL.NET v4 and other MSAL.NET v2 applications. If you need to maintain SSO between an application using ADAL 3.x or MSAL 2.x, use both SerializeAdalV3()/DeserializeAdalV3(Byte) and SerializeMsalV2()/DeserializeMsalV2(Byte).
public void DeserializeMsalV2 (byte bytes);
member this.DeserializeMsalV2 : byte -> unit
Public Sub DeserializeMsalV2 (bytes As Byte())
Byte stream representation of the cache
An application using ADAL should not rely exclusively on SerializeMsal* / DeserializeMsal* because access tokens and ID tokens will be lost, as they are not compatible between ADAL and MSAL. This will cause ADAL to contact AAD for an access token on every AcquireTokenSilent call, introducing seconds of delay into your app.
Submit and view feedback for