CookieAuthenticationHandler Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder) |
Inicjuje nowe wystąpienie klasy CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder)
Inicjuje nowe wystąpienie klasy CookieAuthenticationHandler.
public CookieAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
Public Sub New (options As IOptionsMonitor(Of CookieAuthenticationOptions), logger As ILoggerFactory, encoder As UrlEncoder)
Parametry
Metodę dostępu do metody CookieAuthenticationOptions.
- logger
- ILoggerFactory
Element ILoggerFactory.
- encoder
- UrlEncoder
Element UrlEncoder.
Dotyczy
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Przestroga
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inicjuje nowe wystąpienie klasy CookieAuthenticationHandler.
public:
CookieAuthenticationHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public CookieAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> 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 CookieAuthenticationHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
Public Sub New (options As IOptionsMonitor(Of CookieAuthenticationOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)
Parametry
Metodę dostępu do metody CookieAuthenticationOptions.
- logger
- ILoggerFactory
Element ILoggerFactory.
- encoder
- UrlEncoder
Element UrlEncoder.
- clock
- ISystemClock
Element ISystemClock.
- Atrybuty