CertificateForwardingBuilderExtensions.UseCertificateForwarding 方法

定义

将中间件添加到管道中,该中间件将在请求标头中查找证书解码,并更新 HttpContext.Connection.ClientCertificate。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseCertificateForwarding(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCertificateForwarding (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseCertificateForwarding : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseCertificateForwarding (app As IApplicationBuilder) As IApplicationBuilder

参数

返回

适用于