CookieSigningInContext CookieSigningInContext CookieSigningInContext Constructors

Definition

Overloads

CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions)

Creates a new instance of the context object.

CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions)

Creates a new instance of the context object.

CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions)

Creates a new instance of the context object.

public:
 CookieSigningInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^ options, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::CookieOptions ^ cookieOptions);
public CookieSigningInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.CookieOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext

Parameters

context
HttpContext HttpContext HttpContext

The HTTP request context

principal
ClaimsPrincipal ClaimsPrincipal ClaimsPrincipal

Initializes Principal property

cookieOptions
CookieOptions CookieOptions CookieOptions

Initializes options for the authentication cookie.

CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions) CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions)

Creates a new instance of the context object.

public:
 CookieSigningInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::CookieAuthenticationOptions ^ options, System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::CookieOptions ^ cookieOptions);
public CookieSigningInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.CookieAuthenticationOptions options, string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.CookieAuthenticationOptions * string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.CookieOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext

Parameters

context
HttpContext HttpContext HttpContext

The HTTP request context

authenticationScheme
String String String

Initializes AuthenticationScheme property

principal
ClaimsPrincipal ClaimsPrincipal ClaimsPrincipal

Initializes Principal property

cookieOptions
CookieOptions CookieOptions CookieOptions

Initializes options for the authentication cookie.

Applies to