JwtBearerHandler Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder) |
Inizializza una nuova istanza di JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsoleti.
Inizializza una nuova istanza di JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock) |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder)
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
Inizializza una nuova istanza di 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)
Parametri
- options
- IOptionsMonitor<JwtBearerOptions>
Monitoraggio per l'istanza delle opzioni.
- logger
- ILoggerFactory
Oggetto ILoggerFactory.
- encoder
- UrlEncoder
Oggetto UrlEncoder.
Si applica a
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
- Origine:
- JwtBearerHandler.cs
Attenzione
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inizializza una nuova istanza di 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)
Parametri
- options
- IOptionsMonitor<JwtBearerOptions>
Monitoraggio per l'istanza delle opzioni.
- logger
- ILoggerFactory
Oggetto ILoggerFactory.
- encoder
- UrlEncoder
Oggetto UrlEncoder.
- clock
- ISystemClock
Oggetto ISystemClock.
- Attributi
Si applica a
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock)
- Origine:
- JwtBearerHandler.cs
- Origine:
- 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)
Parametri
- options
- IOptionsMonitor<JwtBearerOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- dataProtection
- IDataProtectionProvider
- clock
- ISystemClock