AuthenticationMiddleware 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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.AuthenticationMiddlewarePublic Sub New (next As RequestDelegate, schemes As IAuthenticationSchemeProvider)参数
- next
- RequestDelegate
中间件管道中的下一项。