IMsalTokenCacheProvider.InitializeAsync(ITokenCache) 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.
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