Compartilhar via


PolicySchemeHandler Construtores

Definição

Sobrecargas

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Inicializa uma nova instância de PolicySchemeHandler.

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

Inicializa uma nova instância de PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Origem:
PolicySchemeHandler.cs

Inicializa uma nova instância 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)

Parâmetros

options
IOptionsMonitor<PolicySchemeOptions>

O monitor da instância de opções.

encoder
UrlEncoder

O UrlEncoder.

Aplica-se a

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

Origem:
PolicySchemeHandler.cs
Origem:
PolicySchemeHandler.cs
Origem:
PolicySchemeHandler.cs

Cuidado

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inicializa uma nova instância 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)

Parâmetros

options
IOptionsMonitor<PolicySchemeOptions>

O monitor da instância de opções.

encoder
UrlEncoder

O UrlEncoder.

Atributos

Aplica-se a