Class CertificateServiceCollectionExtensions
- Namespace
- Steeltoe.Common.Certificates
- Assembly
- Steeltoe.Common.Certificates.dll
public static class CertificateServiceCollectionExtensions
- Inheritance
-
CertificateServiceCollectionExtensions
- Inherited Members
Methods
ConfigureCertificateOptions(IServiceCollection, string)
Binds certificate paths in configuration to CertificateOptions for use with client certificates.
public static IServiceCollection ConfigureCertificateOptions(this IServiceCollection services, string certificateName)
Parameters
servicesIServiceCollectionThe IServiceCollection to add services to.
certificateNamestringName of the certificate used in configuration and IOptions, or Empty for an unnamed certificate.
Returns
- IServiceCollection
The incoming
servicesso that additional calls can be chained.