Udostępnij za pośrednictwem


CookieSignedInContext Konstruktory

Definicja

Przeciążenia

CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)

Tworzy nowe wystąpienie obiektu kontekstu.

CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)

Tworzy nowe wystąpienie obiektu kontekstu.

CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)

Źródło:
CookieSignedInContext.cs
Źródło:
CookieSignedInContext.cs
Źródło:
CookieSignedInContext.cs

Tworzy nowe wystąpienie obiektu kontekstu.

public:
 CookieSignedInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^ options);
public CookieSignedInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options);
public CookieSignedInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, principal As ClaimsPrincipal, properties As AuthenticationProperties, options As CookieAuthenticationOptions)

Parametry

context
HttpContext

Kontekst żądania HTTP

scheme
AuthenticationScheme

Dane schematu

principal
ClaimsPrincipal

Inicjuje właściwość Principal

properties
AuthenticationProperties

Inicjowanie właściwości

options
CookieAuthenticationOptions

Opcje programu obsługi

Dotyczy

CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)

Tworzy nowe wystąpienie obiektu kontekstu.

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

Parametry

context
HttpContext

Kontekst żądania HTTP

options
CookieAuthenticationOptions

Opcje oprogramowania pośredniczącego

authenticationScheme
String

Inicjowanie właściwości AuthenticationScheme

principal
ClaimsPrincipal

Inicjuje właściwość Principal

properties
AuthenticationProperties

Inicjowanie właściwości

Dotyczy