10 references to CertificateForwardingOptions
Microsoft.AspNetCore.HttpOverrides (8)
CertificateForwardingFeature.cs (2)
15
private readonly
CertificateForwardingOptions
_options;
18
public CertificateForwardingFeature(ILogger logger, StringValues header,
CertificateForwardingOptions
options)
CertificateForwardingMiddleware.cs (3)
18
private readonly
CertificateForwardingOptions
_options;
30
IOptions<
CertificateForwardingOptions
> options)
42
/// Looks for the presence of a <see cref="
CertificateForwardingOptions
.CertificateHeader"/> header in the request,
CertificateForwardingServiceExtensions.cs (3)
17
/// <param name="configure">An action delegate to configure the provided <see cref="
CertificateForwardingOptions
"/>.</param>
21
Action<
CertificateForwardingOptions
> configure)
26
services.AddOptions<
CertificateForwardingOptions
>().Validate(o => !string.IsNullOrEmpty(o.CertificateHeader), "CertificateForwarderOptions.CertificateHeader cannot be null or empty.");
Microsoft.AspNetCore.HttpOverrides.Tests (2)
CertificateForwardingTest.cs (2)
23
var options = services.BuildServiceProvider().GetRequiredService<IOptions<
CertificateForwardingOptions
>>();
33
var options = services.BuildServiceProvider().GetRequiredService<IOptions<
CertificateForwardingOptions
>>();