Bagikan melalui


AuthenticationMiddleware Konstruktor

Definisi

Menginisialisasi instans AuthenticationMiddlewarebaru .

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)

Parameter

next
RequestDelegate

Item berikutnya di alur middleware.

Berlaku untuk