Compartir a través de


JwtBearerMiddleware Constructor

Definición

Componente de autenticación de portador que se agrega a una canalización HTTP. El código de aplicación no llama directamente a este constructor; en su lugar, se agrega llamando al método de extensión 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))

Parámetros

loggerFactory
ILoggerFactory
encoder
UrlEncoder

Se aplica a