Udostępnij za pośrednictwem


PolicySchemeHandler Konstruktory

Definicja

Przeciążenia

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Inicjuje nowe wystąpienie klasy PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Przestarzałe.

Inicjuje nowe wystąpienie klasy PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Źródło:
PolicySchemeHandler.cs

Inicjuje nowe wystąpienie klasy PolicySchemeHandler.

public PolicySchemeHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.PolicySchemeOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.PolicySchemeHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.PolicySchemeOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.PolicySchemeHandler
Public Sub New (options As IOptionsMonitor(Of PolicySchemeOptions), logger As ILoggerFactory, encoder As UrlEncoder)

Parametry

options
IOptionsMonitor<PolicySchemeOptions>

Monitor dla wystąpienia opcji.

logger
ILoggerFactory

Element ILoggerFactory.

encoder
UrlEncoder

Element UrlEncoder.

Dotyczy

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Źródło:
PolicySchemeHandler.cs
Źródło:
PolicySchemeHandler.cs
Źródło:
PolicySchemeHandler.cs

Przestroga

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inicjuje nowe wystąpienie klasy PolicySchemeHandler.

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

Parametry

options
IOptionsMonitor<PolicySchemeOptions>

Monitor dla wystąpienia opcji.

logger
ILoggerFactory

Element ILoggerFactory.

encoder
UrlEncoder

Element UrlEncoder.

clock
ISystemClock

Element ISystemClock.

Atrybuty

Dotyczy