MsalAbstractTokenCacheProvider.ReadCacheBytesAsync 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.
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
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
Read bytes.