NegotiateHandler 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NegotiateHandler(IOptionsMonitor<NegotiateOptions>, ILoggerFactory, UrlEncoder)
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
创建一个新的 NegotiateHandler。
public NegotiateHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler
Public Sub New (options As IOptionsMonitor(Of NegotiateOptions), logger As ILoggerFactory, encoder As UrlEncoder)
参数
- options
- IOptionsMonitor<NegotiateOptions>
选项实例的监视器。
- logger
- ILoggerFactory
- encoder
- UrlEncoder
适用于
NegotiateHandler(IOptionsMonitor<NegotiateOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
- Source:
- NegotiateHandler.cs
注意
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
创建一个新的 NegotiateHandler。
public:
NegotiateHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public NegotiateHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> 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 NegotiateHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler
Public Sub New (options As IOptionsMonitor(Of NegotiateOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)
参数
- options
- IOptionsMonitor<NegotiateOptions>
选项实例的监视器。
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- clock
- ISystemClock
- 属性