Partager via


CookieSigningInContext Constructeurs

Définition

Surcharges

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

Crée une instance de l'objet de contexte.

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

Crée une instance de l'objet de contexte.

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

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

Crée une instance de l'objet de contexte.

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)

Paramètres

context
HttpContext

Contexte de la requête HTTP

scheme
AuthenticationScheme

Données du schéma

options
CookieAuthenticationOptions

Options du gestionnaire

principal
ClaimsPrincipal

Initialise la propriété Principal

properties
AuthenticationProperties

Propriétés d’authentification.

cookieOptions
CookieOptions

Initialise les options du cookie d'authentification.

S’applique à

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

Crée une instance de l'objet de contexte.

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)

Paramètres

context
HttpContext

Contexte de la requête HTTP

options
CookieAuthenticationOptions

Options de l'intergiciel (middleware)

authenticationScheme
String

Initializes AuthenticationScheme, propriété

principal
ClaimsPrincipal

Initialise la propriété Principal

properties
AuthenticationProperties

Initialise la propriété Extra

cookieOptions
CookieOptions

Initialise les options du cookie d'authentification.

S’applique à