AuthenticationMiddleware Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.