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 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for