CookieAuthenticationHandler Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder) |
Initialise une nouvelle instance de CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsolète.
Initialise une nouvelle instance de CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder)
Initialise une nouvelle instance de 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)
Paramètres
Accesseur à CookieAuthenticationOptions.
- logger
- ILoggerFactory
L’ILoggerFactoryopérateur
- encoder
- UrlEncoder
L’UrlEncoderopérateur
S’applique à
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Attention
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Initialise une nouvelle instance de 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)
Paramètres
Accesseur à CookieAuthenticationOptions.
- logger
- ILoggerFactory
L’ILoggerFactoryopérateur
- encoder
- UrlEncoder
L’UrlEncoderopérateur
- clock
- ISystemClock
L’ISystemClockopérateur
- Attributs