다음을 통해 공유


MsalSessionTokenCacheProvider.WriteCacheBytesAsync(String, Byte[]) Method

Definition

Writes the token cache identified by its key to the serialization mechanism.

protected override System.Threading.Tasks.Task WriteCacheBytesAsync (string cacheKey, byte[] bytes);
override this.WriteCacheBytesAsync : string * byte[] -> System.Threading.Tasks.Task
Protected Overrides Function WriteCacheBytesAsync (cacheKey As String, bytes As Byte()) As Task

Parameters

cacheKey
String

Key for the cache (account ID or app ID).

bytes
Byte[]

Blob to write to the cache.

Returns

A Task that completes when a write operation has completed.

Applies to