Dela via


CookieValidatePrincipalContext Constructors

Definition

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

Applies to

CookieValidatePrincipalContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, AuthenticationTicket)

Source:
CookieValidatePrincipalContext.cs
Source:
CookieValidatePrincipalContext.cs
Source:
CookieValidatePrincipalContext.cs

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
ticket
AuthenticationTicket

Contains the initial values for identity and extra data

Applies to