MsalSessionTokenCacheProvider.WriteCacheBytesAsync(String, Byte[]) 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.
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.