AuthenticationMiddleware 建構函式

定義

初始化 AuthenticationMiddleware 的新執行個體。

public:
 AuthenticationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes);
public AuthenticationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes);
new Microsoft.AspNetCore.Authentication.AuthenticationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider -> Microsoft.AspNetCore.Authentication.AuthenticationMiddleware
Public Sub New (next As RequestDelegate, schemes As IAuthenticationSchemeProvider)

參數

next
RequestDelegate

中介軟體管線中的下一個專案。

適用於