CryptoProviderCacheOptions Class
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.
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. |