CertificateForwardingMiddleware.Invoke(HttpContext) 方法

定义

查找请求中是否存在 CertificateHeader 标头(如果找到)会将此标头转换为连接上设置的 ClientCertificate。

public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (httpContext As HttpContext) As Task

参数

httpContext
HttpContext

HttpContext

返回

一个 Task

适用于