Megosztás a következőn keresztül:


CookieSigningInContext Constructors

Definition

Overloads

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

Creates a new instance of the context object.

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

Creates a new instance of the context object.

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

Source:
CookieSigningInContext.cs
Source:
CookieSigningInContext.cs
Source:
CookieSigningInContext.cs

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);
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
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As CookieAuthenticationOptions, principal As ClaimsPrincipal, properties As AuthenticationProperties, cookieOptions As CookieOptions)

Parameters

context
HttpContext

The HTTP request context

scheme
AuthenticationScheme

The scheme data

options
CookieAuthenticationOptions

The handler options

principal
ClaimsPrincipal

Initializes Principal property

properties
AuthenticationProperties

The authentication properties.

cookieOptions
CookieOptions

Initializes options for the authentication cookie.

Applies to

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
Public Sub New (context As HttpContext, options As CookieAuthenticationOptions, authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties, cookieOptions As CookieOptions)

Parameters

context
HttpContext

The HTTP request context

options
CookieAuthenticationOptions

The middleware options

authenticationScheme
String

Initializes AuthenticationScheme property

principal
ClaimsPrincipal

Initializes Principal property

properties
AuthenticationProperties

Initializes Extra property

cookieOptions
CookieOptions

Initializes options for the authentication cookie.

Applies to