CookieValidatePrincipalContext 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
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions) |
Crea una nuova istanza dell'oggetto di contesto. |
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket) |
Crea una nuova istanza dell'oggetto di contesto. |
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions)
Crea una nuova istanza dell'oggetto di contesto.
public:
CookieValidatePrincipalContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket, Microsoft::AspNetCore::Builder::CookieAuthenticationOptions ^ options);
public CookieValidatePrincipalContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Builder.CookieAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Builder.CookieAuthenticationOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext
Public Sub New (context As HttpContext, ticket As AuthenticationTicket, options As CookieAuthenticationOptions)
Parametri
- context
- HttpContext
- ticket
- AuthenticationTicket
Contiene i valori iniziali per l'identità e i dati aggiuntivi.
- options
- CookieAuthenticationOptions
Si applica a
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket)
Crea una nuova istanza dell'oggetto di contesto.
public:
CookieValidatePrincipalContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public CookieValidatePrincipalContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
new Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As CookieAuthenticationOptions, ticket As AuthenticationTicket)
Parametri
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- CookieAuthenticationOptions
- ticket
- AuthenticationTicket
Contiene i valori iniziali per l'identità e i dati aggiuntivi.