Share via


IMsalTokenCacheProvider.InitializeAsync(ITokenCache) Method

Definition

Caution

IDW10801: Use Initialize instead. See https://aka.ms/ms-id-web/1.9.0.

Initializes a token cache (which can be a user token cache or an app token cache).

[System.Obsolete("IDW10801: Use Initialize instead. See https://aka.ms/ms-id-web/1.9.0. ", true)]
public System.Threading.Tasks.Task InitializeAsync (Microsoft.Identity.Client.ITokenCache tokenCache);
[<System.Obsolete("IDW10801: Use Initialize instead. See https://aka.ms/ms-id-web/1.9.0. ", true)>]
abstract member InitializeAsync : Microsoft.Identity.Client.ITokenCache -> System.Threading.Tasks.Task
Public Function InitializeAsync (tokenCache As ITokenCache) As Task

Parameters

tokenCache
ITokenCache

Token cache for which to initialize the serialization.

Returns

A Task that represents a completed initialization operation.

Attributes

Applies to