Class CachedCertificateLoader
The cached certificate loader loads X.509 certificates.
Certificates are cached in memory for performance.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Certificates
Assembly: ComponentSpace.Saml2.dll
Syntax
public class CachedCertificateLoader : AbstractCachedCertificateLoader, ICertificateLoader
Constructors
CachedCertificateLoader(IConfiguration, IOptionsMonitor<CertificateCacheOptions>, IMemoryCache, ILoggerFactory)
Initializes a new instance of the CachedCertificateLoader
class.
Declaration
public CachedCertificateLoader(IConfiguration configuration, IOptionsMonitor<CertificateCacheOptions> certificateCacheOptions, IMemoryCache memoryCache, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration. |
Microsoft.Extensions.Options.IOptionsMonitor<CertificateCacheOptions> | certificateCacheOptions | The certificate cache options. |
Microsoft.Extensions.Caching.Memory.IMemoryCache | memoryCache | The memory cache used to store certificates. |
Microsoft.Extensions.Logging.ILoggerFactory | loggerFactory | The logger factory. |