<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.0" />

Microsoft.IdentityModel.Tokens.CryptoProviderCacheOptions

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 EventBasedLRUCache<T, U> for more details.
public static readonly int DefaultSizeLimit

Default value for the cache size limit ( SizeLimit). Default is 1000.

public int SizeLimit { get; set; }

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.