Partager via


AuthenticationMiddleware Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

next
RequestDelegate

Élément suivant dans le pipeline middleware.

S’applique à