CookieValidatePrincipalContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions) |
Creates a new instance of the context object. |
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket) |
Creates a new instance of the context object. |
CookieValidatePrincipalContext(HttpContext, AuthenticationTicket, CookieAuthenticationOptions)
Creates a new instance of the context object.
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)
Parameters
- context
- HttpContext
- ticket
- AuthenticationTicket
Contains the initial values for identity and extra data
- options
- CookieAuthenticationOptions
Applies to
CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket)
Creates a new instance of the context object.
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)
Parameters
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- CookieAuthenticationOptions
- ticket
- AuthenticationTicket
Contains the initial values for identity and extra data