Udostępnij za pośrednictwem


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 the cache size limit (SizeLimit). Default is 1000.

Properties

SizeLimit

Gets or sets the size limit of the cache (in number of items). When the cache reaches 95% of this size, 20% of the least recently used items will be evicted.

Applies to