CookieValidatePrincipalContext 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
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions) |
Crée une instance de l'objet de contexte. |
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket) |
Crée une instance de l'objet de contexte. |
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions)
Crée une instance de l'objet de contexte.
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)
Paramètres
- context
- HttpContext
- ticket
- AuthenticationTicket
Contient les valeurs initiales d'identité et des données supplémentaires
- options
- CookieAuthenticationOptions
S’applique à
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket)
Crée une instance de l'objet de contexte.
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)
Paramètres
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- CookieAuthenticationOptions
- ticket
- AuthenticationTicket
Contient les valeurs initiales d'identité et des données supplémentaires