Partager via


PolicySchemeHandler Constructeurs

Définition

Surcharges

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Initialise une nouvelle instance de PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Obsolète.

Initialise une nouvelle instance de PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Source:
PolicySchemeHandler.cs

Initialise une nouvelle instance de 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)

Paramètres

options
IOptionsMonitor<PolicySchemeOptions>

Moniteur des options instance.

logger
ILoggerFactory

L’ILoggerFactoryopérateur

encoder
UrlEncoder

L’UrlEncoderopérateur

S’applique à

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

Source:
PolicySchemeHandler.cs
Source:
PolicySchemeHandler.cs
Source:
PolicySchemeHandler.cs

Attention

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Initialise une nouvelle instance de 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)

Paramètres

options
IOptionsMonitor<PolicySchemeOptions>

Moniteur des options instance.

logger
ILoggerFactory

L’ILoggerFactoryopérateur

encoder
UrlEncoder

L’UrlEncoderopérateur

clock
ISystemClock

L’ISystemClockopérateur

Attributs

S’applique à