MsalAbstractTokenCacheProvider.OnBeforeWriteAsync Method
Definition
Important
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.
If you want to ensure that no concurrent write takes place, use this notification to place a lock on the entry.
protected virtual System.Threading.Tasks.Task OnBeforeWriteAsync (Microsoft.Identity.Client.TokenCacheNotificationArgs args);
abstract member OnBeforeWriteAsync : Microsoft.Identity.Client.TokenCacheNotificationArgs -> System.Threading.Tasks.Task
override this.OnBeforeWriteAsync : Microsoft.Identity.Client.TokenCacheNotificationArgs -> System.Threading.Tasks.Task
Protected Overridable Function OnBeforeWriteAsync (args As TokenCacheNotificationArgs) As Task
Parameters
Token cache notification arguments.
Returns
A Task that represents a completed operation.