Condividi tramite


AuthenticationHandler<TOptions> Costruttori

Definizione

Overload

AuthenticationHandler<TOptions>()
AuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)

Inizializza una nuova istanza di AuthenticationHandler<TOptions>.

AuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Obsoleti.

Inizializza una nuova istanza di AuthenticationHandler<TOptions>.

AuthenticationHandler<TOptions>()

protected:
 AuthenticationHandler();
protected AuthenticationHandler ();
Protected Sub New ()

Si applica a

AuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)

Origine:
AuthenticationHandler.cs

Inizializza una nuova istanza di AuthenticationHandler<TOptions>.

protected AuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
Protected Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder)

Parametri

options
IOptionsMonitor<TOptions>

Monitoraggio per l'istanza delle opzioni.

logger
ILoggerFactory

Oggetto ILoggerFactory.

encoder
UrlEncoder

Oggetto UrlEncoder.

Si applica a

AuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Origine:
AuthenticationHandler.cs
Origine:
AuthenticationHandler.cs
Origine:
AuthenticationHandler.cs

Attenzione

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inizializza una nuova istanza di AuthenticationHandler<TOptions>.

protected:
 AuthenticationHandler(Microsoft::Extensions::Options::IOptionsMonitor<TOptions> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
protected AuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> 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.")]
protected AuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
Protected Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)

Parametri

options
IOptionsMonitor<TOptions>

Monitoraggio per l'istanza delle opzioni.

logger
ILoggerFactory

Oggetto ILoggerFactory.

encoder
UrlEncoder

Oggetto UrlEncoder.

clock
ISystemClock

Oggetto ISystemClock.

Attributi

Si applica a