{
namespace Microsoft.AspNetCore.Builder {
+ public static class CertificateForwardingBuilderExtensions {
+ public static IApplicationBuilder UseCertificateForwarding(this IApplicationBuilder app);
+ }
}
namespace Microsoft.AspNetCore.HttpOverrides {
+ public class CertificateForwardingMiddleware {
+ public CertificateForwardingMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, IOptions<CertificateForwardingOptions> options);
+ public Task Invoke(HttpContext httpContext);
+ }
+ public class CertificateForwardingOptions {
+ public Func<string, X509Certificate2> HeaderConverter;
+ public CertificateForwardingOptions();
+ public string CertificateHeader { get; set; }
+ }
}
- namespace Microsoft.AspNetCore.HttpOverrides.Internal {
{
- public static class IPEndPointParser {
{
- public static bool TryParse(string addressWithPort, out IPEndPoint endpoint);
- }
- }
+ namespace Microsoft.Extensions.DependencyInjection {
+ public static class CertificateForwardingServiceExtensions {
+ public static IServiceCollection AddCertificateForwarding(this IServiceCollection services, Action<CertificateForwardingOptions> configure);
+ }
+ }
}