Share via


TokenCache.TokenCacheNotification Delegate

Definition

Caution

Use Microsoft.Identity.Client.TokenCacheCallback instead. See https://aka.ms/msal-net-3x-cache-breaking-change

Notification for certain token cache interactions during token acquisition. This delegate is used in particular to provide a custom token cache serialization

[System.Obsolete("Use Microsoft.Identity.Client.TokenCacheCallback instead. See https://aka.ms/msal-net-3x-cache-breaking-change", true)]
public delegate void TokenCache.TokenCacheNotification(TokenCacheNotificationArgs args);
[<System.Obsolete("Use Microsoft.Identity.Client.TokenCacheCallback instead. See https://aka.ms/msal-net-3x-cache-breaking-change", true)>]
type TokenCache.TokenCacheNotification = delegate of TokenCacheNotificationArgs -> unit
Public Delegate Sub TokenCache.TokenCacheNotification(args As TokenCacheNotificationArgs)

Parameters

args
TokenCacheNotificationArgs

Arguments related to the cache item impacted

Attributes

Applies to