Table of Contents

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

services IServiceCollection

The IServiceCollection to add services to.

certificateName string

Name of the certificate used in configuration and IOptions, or Empty for an unnamed certificate.

Returns

IServiceCollection

The incoming services so that additional calls can be chained.