<PackageReference Include="Microsoft.Identity.Client" Version="4.84.0" />

Microsoft.Identity.Client.TokenCacheCallback

public sealed delegate TokenCacheCallback : MulticastDelegate
Notification for certain token cache interactions during token acquisition. This delegate is used in particular to provide a custom token cache serialization. See https://aka.ms/aka.ms/msal-net-token-cache-serialization
public TokenCacheCallback(object object, IntPtr method)

public virtual IAsyncResult BeginInvoke(TokenCacheNotificationArgs args, AsyncCallback callback, object object)

public virtual void EndInvoke(IAsyncResult result)

public virtual void Invoke(TokenCacheNotificationArgs args)