Share via


MsalAbstractTokenCacheProvider.ReadCacheBytesAsync Method

Definition

Overloads

ReadCacheBytesAsync(String)

Method to be implemented by concrete cache serializers to Read the cache bytes.

ReadCacheBytesAsync(String, CacheSerializerHints)

Method to be overridden by concrete cache serializers to Read the cache bytes.

ReadCacheBytesAsync(String)

Method to be implemented by concrete cache serializers to Read the cache bytes.

protected abstract System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync (string cacheKey);
abstract member ReadCacheBytesAsync : string -> System.Threading.Tasks.Task<byte[]>
Protected MustOverride Function ReadCacheBytesAsync (cacheKey As String) As Task(Of Byte())

Parameters

cacheKey
String

Cache key.

Returns

Task<Byte[]>

Read bytes.

Applies to

ReadCacheBytesAsync(String, CacheSerializerHints)

Method to be overridden by concrete cache serializers to Read the cache bytes.

protected virtual System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync (string cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints cacheSerializerHints);
abstract member ReadCacheBytesAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task<byte[]>
override this.ReadCacheBytesAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task<byte[]>
Protected Overridable Function ReadCacheBytesAsync (cacheKey As String, cacheSerializerHints As CacheSerializerHints) As Task(Of Byte())

Parameters

cacheKey
String

Cache key.

cacheSerializerHints
CacheSerializerHints

Hints for the cache serialization implementation optimization.

Returns

Task<Byte[]>

Read bytes.

Applies to