RemoteAuthenticationHandler<TOptions> Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
RemoteAuthenticationHandler<TOptions>() | |
RemoteAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder) |
Inicjuje nowe wystąpienie klasy RemoteAuthenticationHandler<TOptions>. |
RemoteAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy RemoteAuthenticationHandler<TOptions>. |
RemoteAuthenticationHandler<TOptions>()
protected:
RemoteAuthenticationHandler();
protected RemoteAuthenticationHandler ();
Protected Sub New ()
Dotyczy
RemoteAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)
Inicjuje nowe wystąpienie klasy RemoteAuthenticationHandler<TOptions>.
protected RemoteAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))>
Protected Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder)
Parametry
- options
- IOptionsMonitor<TOptions>
Monitor dla wystąpienia opcji.
- logger
- ILoggerFactory
Element ILoggerFactory.
- encoder
- UrlEncoder
Element UrlEncoder.
Dotyczy
RemoteAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Przestroga
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inicjuje nowe wystąpienie klasy RemoteAuthenticationHandler<TOptions>.
protected:
RemoteAuthenticationHandler(Microsoft::Extensions::Options::IOptionsMonitor<TOptions> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
protected RemoteAuthenticationHandler (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 RemoteAuthenticationHandler (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.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions and 'Options : (new : unit -> 'Options))>
Protected Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)
Parametry
- options
- IOptionsMonitor<TOptions>
Monitor dla wystąpienia opcji.
- logger
- ILoggerFactory
Element ILoggerFactory.
- encoder
- UrlEncoder
Element UrlEncoder.
- clock
- ISystemClock
Element ISystemClock.
- Atrybuty