CookieAuthenticationHandler Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder) |
Inizializza una nuova istanza di CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsoleti.
Inizializza una nuova istanza di CookieAuthenticationHandler. |
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder)
- Origine:
- CookieAuthenticationHandler.cs
Inizializza una nuova istanza di 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)
Parametri
Funzione di accesso a CookieAuthenticationOptions.
- logger
- ILoggerFactory
Oggetto ILoggerFactory.
- encoder
- UrlEncoder
Oggetto UrlEncoder.
Si applica a
CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Origine:
- CookieAuthenticationHandler.cs
- Origine:
- CookieAuthenticationHandler.cs
- Origine:
- CookieAuthenticationHandler.cs
Attenzione
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inizializza una nuova istanza di 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)
Parametri
Funzione di accesso a CookieAuthenticationOptions.
- logger
- ILoggerFactory
Oggetto ILoggerFactory.
- encoder
- UrlEncoder
Oggetto UrlEncoder.
- clock
- ISystemClock
Oggetto ISystemClock.
- Attributi