Freigeben über


MsalAbstractTokenCacheProvider.RemoveKeyAsync Method

Definition

Overloads

RemoveKeyAsync(String)

Method to be implemented by concrete cache serializers to remove an entry from the cache.

RemoveKeyAsync(String, CacheSerializerHints)

Method to be overridden by concrete cache serializers to remove an entry from the cache.

RemoveKeyAsync(String)

Method to be implemented by concrete cache serializers to remove an entry from the cache.

protected abstract System.Threading.Tasks.Task RemoveKeyAsync (string cacheKey);
abstract member RemoveKeyAsync : string -> System.Threading.Tasks.Task
Protected MustOverride Function RemoveKeyAsync (cacheKey As String) As Task

Parameters

cacheKey
String

Cache key.

Returns

A Task that represents a completed remove key operation.

Applies to

RemoveKeyAsync(String, CacheSerializerHints)

Method to be overridden by concrete cache serializers to remove an entry from the cache.

protected virtual System.Threading.Tasks.Task RemoveKeyAsync (string cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints cacheSerializerHints);
abstract member RemoveKeyAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task
override this.RemoveKeyAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task
Protected Overridable Function RemoveKeyAsync (cacheKey As String, cacheSerializerHints As CacheSerializerHints) As Task

Parameters

cacheKey
String

Cache key.

cacheSerializerHints
CacheSerializerHints

Hints for the cache serialization implementation optimization.

Returns

A Task that represents a completed remove key operation.

Applies to