CookieSignedInContext Třída

Definice

Context objekt předaný 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 objektu kontextu.

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

Vytvoří novou instanci objektu kontextu.

Vlastnosti

AuthenticationScheme

Název souboru AuthenticationScheme, který vytváří soubor cookie

HttpContext

Context objekt předaný ICookieAuthenticationEvents metoda SignedIn.

(Zděděno od BaseContext)
HttpContext

Kontext

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

Context objekt předaný ICookieAuthenticationEvents metoda SignedIn.

(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 dodatečná data, která byla obsažena v odchozím souboru cookie.

Properties

Získá nebo nastaví AuthenticationProperties.

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

Context objekt předaný ICookieAuthenticationEvents metoda SignedIn.

(Zděděno od BaseContext)
Request

Žádost

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

Context objekt předaný ICookieAuthenticationEvents metoda SignedIn.

(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