CookieSignedInContext Třída

Definice

Objekt context předán ICookieAuthenticationEvents metoda SignedIn.

public ref class CookieSignedInContext : Microsoft::AspNetCore::Authentication::Cookies::BaseCookieContext
public ref class CookieSignedInContext : Microsoft::AspNetCore::Authentication::PrincipalContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^>
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.Cookies.BaseCookieContext
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
type CookieSignedInContext = class
    inherit BaseCookieContext
type CookieSignedInContext = class
    inherit PrincipalContext<CookieAuthenticationOptions>
Public Class CookieSignedInContext
Inherits BaseCookieContext
Public Class CookieSignedInContext
Inherits PrincipalContext(Of CookieAuthenticationOptions)
Dědičnost
CookieSignedInContext
Dědičnost

Konstruktory

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

Vytvoří novou instanci kontextového objektu.

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

Vytvoří novou instanci kontextového objektu.

Vlastnosti

AuthenticationScheme

Název authenticationScheme, který vytváří soubor cookie

HttpContext (Zděděno od BaseContext)
HttpContext

Kontext

(Zděděno od BaseContext<TOptions>)
Options (Zděděno od BaseCookieContext)
Options

Získá možnosti ověřování přidružené k schématu.

(Zděděno od BaseContext<TOptions>)
Principal

Obsahuje deklarace identity, které byly převedeny na odchozí soubor cookie.

Principal

ClaimsPrincipal Získá obsahující deklarace identity uživatele.

(Zděděno od PrincipalContext<TOptions>)
Properties

Obsahuje další data obsažená v odchozím souboru cookie.

Properties

Získá nebo nastaví AuthenticationProperties.

(Zděděno od PropertiesContext<TOptions>)
Request (Zděděno od BaseContext)
Request

Žádost

(Zděděno od BaseContext<TOptions>)
Response (Zděděno od BaseContext)
Response

Odpověď.

(Zděděno od BaseContext<TOptions>)
Scheme

Schéma ověřování.

(Zděděno od BaseContext<TOptions>)

Platí pro