Partager via


JwtBearerMiddleware Constructeur

Définition

Composant d’authentification du porteur ajouté à un pipeline HTTP. Ce constructeur n’est pas appelé directement par le code d’application, mais il est ajouté en appelant la méthode d’extension IAppBuilder UseJwtBearerAuthentication.

public:
 JwtBearerMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::JwtBearerOptions ^> ^ options);
public JwtBearerMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.JwtBearerOptions> options);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.JwtBearerOptions> -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, encoder As UrlEncoder, options As IOptions(Of JwtBearerOptions))

Paramètres

loggerFactory
ILoggerFactory
encoder
UrlEncoder

S’applique à