CryptoProviderCacheOptions Class

Definition

Specifies the CryptoProviderCacheOptions which can be used to configure the internal cryptoprovider cache. We are using our own simple LRU caching implementation across all targets. See Microsoft.IdentityModel.Tokens.EventBasedLRUCache`2 for more details.

public class CryptoProviderCacheOptions
type CryptoProviderCacheOptions = class
Public Class CryptoProviderCacheOptions
Inheritance
CryptoProviderCacheOptions

Constructors

CryptoProviderCacheOptions()

Fields

DefaultSizeLimit

Default value for SizeLimit.

Properties

SizeLimit

Gets or sets the size of the cache (in number of items). 20% of the cache will be evicted whenever the cache gets to 95% of this size. Items will be evicted from least recently used to most recently used.

Applies to