MsalSessionTokenCacheProvider.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) |
Read a blob representing the token cache from its key. |
ReadCacheBytesAsync(String, CacheSerializerHints) |
Read a blob representing the token cache from its key. |
ReadCacheBytesAsync(String)
Read a blob representing the token cache from its key.
protected override System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync (string cacheKey);
override this.ReadCacheBytesAsync : string -> System.Threading.Tasks.Task<byte[]>
Protected Overrides Function ReadCacheBytesAsync (cacheKey As String) As Task(Of Byte())
Parameters
- cacheKey
- String
Key representing the token cache (account or app).
Returns
Read blob.
Applies to
ReadCacheBytesAsync(String, CacheSerializerHints)
Read a blob representing the token cache from its key.
protected override System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync (string cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints cacheSerializerHints);
override this.ReadCacheBytesAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task<byte[]>
Protected Overrides Function ReadCacheBytesAsync (cacheKey As String, cacheSerializerHints As CacheSerializerHints) As Task(Of Byte())
Parameters
- cacheKey
- String
Key representing the token cache (account or app).
- cacheSerializerHints
- CacheSerializerHints
Hints for the cache serialization implementation optimization.
Returns
Read blob.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin