Sdílet prostřednictvím


ITokenCache.DeserializeMsalV2(Byte[]) Method

Definition

Caution

Use ITokenCacheSerializer.DeserializeMsalV2 on the TokenCacheNotificationArgs in the cache callback. Read more: https://aka.ms/msal-net-4x-cache-breaking-change

Functionality replaced by DeserializeMsalV2(Byte[]) and is accessible in TokenCacheNotificationArgs.

[System.Obsolete("Use ITokenCacheSerializer.DeserializeMsalV2 on the TokenCacheNotificationArgs in the cache callback. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]
public void DeserializeMsalV2 (byte[] msalV2State);
[<System.Obsolete("Use ITokenCacheSerializer.DeserializeMsalV2 on the TokenCacheNotificationArgs in the cache callback. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]
abstract member DeserializeMsalV2 : byte[] -> unit
Public Sub DeserializeMsalV2 (msalV2State As Byte())

Parameters

msalV2State
Byte[]

Byte stream representation of the cache

Attributes

Remarks

SerializeMsalV3()/DeserializeMsalV3(Byte[], Boolean) is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.

Applies to