Sprache

CookieSigningInContext Klasse

Definition

Kontextobjekt, das an die SigningIn(CookieSigningInContext).

public ref class CookieSigningInContext : Microsoft::AspNetCore::Authentication::Cookies::BaseCookieContext
public ref class CookieSigningInContext : Microsoft::AspNetCore::Authentication::PrincipalContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^>
public class CookieSigningInContext : Microsoft.AspNetCore.Authentication.Cookies.BaseCookieContext
public class CookieSigningInContext : Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
type CookieSigningInContext = class
    inherit BaseCookieContext
type CookieSigningInContext = class
    inherit PrincipalContext<CookieAuthenticationOptions>
Public Class CookieSigningInContext
Inherits BaseCookieContext
Public Class CookieSigningInContext
Inherits PrincipalContext(Of CookieAuthenticationOptions)
Vererbung
CookieSigningInContext
Vererbung

Konstruktoren

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

Erstellt eine neue Instanz des Kontextobjekts.

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

Erstellt eine neue Instanz des Kontextobjekts.

Eigenschaften

Name Beschreibung
AuthenticationScheme

Der Name der AuthenticationScheme, die ein Cookie erstellt

CookieOptions

Die Optionen zum Erstellen des ausgehenden Cookies. Kann während des SignIn-Anrufs ersetzt oder geändert werden.

HttpContext

Kontextobjekt, das an die SigningIn(CookieSigningInContext).

(Geerbt von BaseContext)
HttpContext

Der Kontext.

(Geerbt von BaseContext<TOptions>)
Options

Kontextobjekt, das an die SigningIn(CookieSigningInContext).

(Geerbt von BaseCookieContext)
Options

Ruft die Authentifizierungsoptionen ab, die dem Schema zugeordnet sind.

(Geerbt von BaseContext<TOptions>)
Principal

Enthält die Ansprüche, die in das ausgehende Cookie umgewandelt werden sollen. Kann während des SigningIn-Anrufs ersetzt oder geändert werden.

Principal

Ruft die ClaimsPrincipal enthaltenden Benutzeransprüche ab.

(Geerbt von PrincipalContext<TOptions>)
Properties

Enthält die zusätzlichen Daten, die im ausgehenden Cookie enthalten sein sollen. Kann während des SigningIn-Anrufs ersetzt oder geändert werden.

Properties

Ruft den AuthenticationProperties ab oder legt ihn fest.

(Geerbt von PropertiesContext<TOptions>)
Request

Kontextobjekt, das an die SigningIn(CookieSigningInContext).

(Geerbt von BaseContext)
Request

Die Anforderung.

(Geerbt von BaseContext<TOptions>)
Response

Kontextobjekt, das an die SigningIn(CookieSigningInContext).

(Geerbt von BaseContext)
Response

Die Antwort.

(Geerbt von BaseContext<TOptions>)
Scheme

Das Authentifizierungsschema.

(Geerbt von BaseContext<TOptions>)

Gilt für: