MsalDistributedTokenCacheAdapter.ReadCacheBytesAsync Metodo

Definizione

Overload

Nome Descrizione
ReadCacheBytesAsync(String)

Leggere una cache di token specifica, descritta dalla relativa chiave della cache, dalla cache distribuita.

ReadCacheBytesAsync(String, CacheSerializerHints)

Leggere una cache di token specifica, descritta dalla relativa chiave della cache, dalla cache distribuita.

ReadCacheBytesAsync(String)

Leggere una cache di token specifica, descritta dalla relativa chiave della cache, dalla cache distribuita.

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())

Parametri

cacheKey
String

Chiave dell'elemento della cache da recuperare.

Valori restituiti

Task<Byte[]>

Blob di lettura che rappresenta una cache dei token per la chiave della cache (account o app).

Si applica a

ReadCacheBytesAsync(String, CacheSerializerHints)

Leggere una cache di token specifica, descritta dalla relativa chiave della cache, dalla cache distribuita.

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())

Parametri

cacheKey
String

Chiave dell'elemento della cache da recuperare.

cacheSerializerHints
CacheSerializerHints

Hint per l'ottimizzazione dell'implementazione della serializzazione della cache.

Valori restituiti

Task<Byte[]>

Blob di lettura che rappresenta una cache dei token per la chiave della cache (account o app).

Si applica a