JwtBearerHandler Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder) |
Inicializa uma nova instância de JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsoleto.
Inicializa uma nova instância de JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock) |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder)
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
Inicializa uma nova instância de JwtBearerHandler.
public JwtBearerHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler
Public Sub New (options As IOptionsMonitor(Of JwtBearerOptions), logger As ILoggerFactory, encoder As UrlEncoder)
Parâmetros
- options
- IOptionsMonitor<JwtBearerOptions>
O monitor para a instância de opções.
- logger
- ILoggerFactory
- encoder
- UrlEncoder
O UrlEncoder.
Aplica-se a
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
Cuidado
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inicializa uma nova instância de JwtBearerHandler.
public:
JwtBearerHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public JwtBearerHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")]
public JwtBearerHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler
Public Sub New (options As IOptionsMonitor(Of JwtBearerOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)
Parâmetros
- options
- IOptionsMonitor<JwtBearerOptions>
O monitor para a instância de opções.
- logger
- ILoggerFactory
- encoder
- UrlEncoder
O UrlEncoder.
- clock
- ISystemClock
O ISystemClock.
- Atributos
Aplica-se a
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock)
- Origem:
- JwtBearerHandler.cs
- Origem:
- JwtBearerHandler.cs
public:
JwtBearerHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtection, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public JwtBearerHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtection, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler
Public Sub New (options As IOptionsMonitor(Of JwtBearerOptions), logger As ILoggerFactory, encoder As UrlEncoder, dataProtection As IDataProtectionProvider, clock As ISystemClock)
Parâmetros
- options
- IOptionsMonitor<JwtBearerOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- dataProtection
- IDataProtectionProvider
- clock
- ISystemClock