CookieValidatePrincipalContext Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions) |
Vytvoří novou instanci objektu kontextu. |
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket) |
Vytvoří novou instanci objektu kontextu. |
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions)
Vytvoří novou instanci objektu kontextu.
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)
Parametry
- context
- HttpContext
- ticket
- AuthenticationTicket
Obsahuje počáteční hodnoty pro identitu a další data.
- options
- CookieAuthenticationOptions
Platí pro
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket)
Vytvoří novou instanci objektu kontextu.
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)
Parametry
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- CookieAuthenticationOptions
- ticket
- AuthenticationTicket
Obsahuje počáteční hodnoty pro identitu a další data.