Class CachedCertificateLoader
- Namespace
- ComponentSpace.Saml2.Certificates
- Assembly
- ComponentSpace.Saml2.dll
The cached certificate loader loads X.509 certificates.
Certificates are cached in memory for performance.
public class CachedCertificateLoader : AbstractCachedCertificateLoader, ICertificateLoader
- Inheritance
-
CachedCertificateLoader
- Implements
- Inherited Members
Constructors
CachedCertificateLoader(IConfiguration, IOptionsMonitor<CertificateCacheOptions>, IMemoryCache, ILoggerFactory)
Initializes a new instance of the CachedCertificateLoader class.
public CachedCertificateLoader(IConfiguration configuration, IOptionsMonitor<CertificateCacheOptions> certificateCacheOptions, IMemoryCache memoryCache, ILoggerFactory loggerFactory)
Parameters
configurationIConfigurationThe configuration.
certificateCacheOptionsIOptionsMonitor<CertificateCacheOptions>The certificate cache options.
memoryCacheIMemoryCacheThe memory cache used to store certificates.
loggerFactoryILoggerFactoryThe logger factory.