PolicySchemeHandler 构造函数

定义

重载

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

初始化 PolicySchemeHandler 的新实例。

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
已过时.

初始化 PolicySchemeHandler 的新实例。

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Source:
PolicySchemeHandler.cs

初始化 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)

参数

options
IOptionsMonitor<PolicySchemeOptions>

选项实例的监视器。

适用于

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

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

注意

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

初始化 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)

参数

options
IOptionsMonitor<PolicySchemeOptions>

选项实例的监视器。

属性

适用于