Share via


PolicySchemeHandler Constructors

Definition

Overloads

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Initializes a new instance of PolicySchemeHandler.

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

Initializes a new instance of PolicySchemeHandler.

PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions>, ILoggerFactory, UrlEncoder)

Source:
PolicySchemeHandler.cs

Initializes a new instance of 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)

Parameters

options
IOptionsMonitor<PolicySchemeOptions>

The monitor for the options instance.

encoder
UrlEncoder

The UrlEncoder.

Applies to

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

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

Caution

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Initializes a new instance of 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)

Parameters

options
IOptionsMonitor<PolicySchemeOptions>

The monitor for the options instance.

encoder
UrlEncoder

The UrlEncoder.

Attributes

Applies to