JwtBearerHandler Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder) |
Initialisiert eine neue Instanz von JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Veraltet.
Initialisiert eine neue Instanz von JwtBearerHandler. |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock) |
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder)
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
Initialisiert eine neue Instanz von 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)
Parameter
- options
- IOptionsMonitor<JwtBearerOptions>
Der Monitor für die Optionen instance.
- logger
- ILoggerFactory
Die ILoggerFactory.
- encoder
- UrlEncoder
Die UrlEncoder.
Gilt für:
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- JwtBearerHandler.cs
Achtung
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Initialisiert eine neue Instanz von 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)
Parameter
- options
- IOptionsMonitor<JwtBearerOptions>
Der Monitor für die Optionen instance.
- logger
- ILoggerFactory
Die ILoggerFactory.
- encoder
- UrlEncoder
Die UrlEncoder.
- clock
- ISystemClock
Die ISystemClock.
- Attribute
Gilt für:
JwtBearerHandler(IOptionsMonitor<JwtBearerOptions>, ILoggerFactory, UrlEncoder, IDataProtectionProvider, ISystemClock)
- Quelle:
- JwtBearerHandler.cs
- Quelle:
- 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)
Parameter
- options
- IOptionsMonitor<JwtBearerOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- dataProtection
- IDataProtectionProvider
- clock
- ISystemClock