Поделиться через


JwtBearerHandler Конструкторы

Определение

Перегрузки

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder)

Инициализирует новый экземпляр JwtBearerHandler.

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Устаревшие..

Инициализирует новый экземпляр JwtBearerHandler.

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock)

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder)

Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs

Инициализирует новый экземпляр 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)

Параметры

options
IOptionsMonitor<JwtBearerOptions>

Монитор для экземпляра параметров.

Применяется к

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs
Исходный код:
JwtBearerHandler.cs

Внимание!

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Инициализирует новый экземпляр 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)

Параметры

options
IOptionsMonitor<JwtBearerOptions>

Монитор для экземпляра параметров.

Атрибуты

Применяется к

JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock)

Исходный код:
JwtBearerHandler.cs
Исходный код:
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)

Параметры

encoder
UrlEncoder
dataProtection
IDataProtectionProvider
clock
ISystemClock

Применяется к