SignOutAuthenticationHandler<TOptions> Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder) |
Инициализирует новый экземпляр SignOutAuthenticationHandler<TOptions>. |
SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Устаревшие..
Инициализирует новый экземпляр SignOutAuthenticationHandler<TOptions>. |
SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)
- Исходный код:
- SignOutAuthenticationHandler.cs
Инициализирует новый экземпляр SignOutAuthenticationHandler<TOptions>.
public SignOutAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
Public Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder)
Параметры
- options
- IOptionsMonitor<TOptions>
Монитор для экземпляра параметров.
- logger
- ILoggerFactory
- encoder
- UrlEncoder
Применяется к
SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Исходный код:
- SignOutAuthenticationHandler.cs
- Исходный код:
- SignOutAuthenticationHandler.cs
- Исходный код:
- SignOutAuthenticationHandler.cs
Внимание!
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Инициализирует новый экземпляр SignOutAuthenticationHandler<TOptions>.
public:
SignOutAuthenticationHandler(Microsoft::Extensions::Options::IOptionsMonitor<TOptions> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public SignOutAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> 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 SignOutAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
Public Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)
Параметры
- options
- IOptionsMonitor<TOptions>
Монитор для экземпляра параметров.
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- clock
- ISystemClock
- Атрибуты