CookieSignedInContext Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Kontextobjekt, das an die ICookieAuthenticationEvents-Methode SignedIn übergeben wird.
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)
- Vererbung
- Vererbung
-
CookieSignedInContext
Konstruktoren
| Name | Beschreibung |
|---|---|
| CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions) |
Erstellt eine neue Instanz des Kontextobjekts. |
| CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties) |
Erstellt eine neue Instanz des Kontextobjekts. |
Eigenschaften
| Name | Beschreibung |
|---|---|
| AuthenticationScheme |
Der Name der AuthenticationScheme, die ein Cookie erstellt |
| HttpContext |
Kontextobjekt, das an die ICookieAuthenticationEvents-Methode SignedIn übergeben wird. (Geerbt von BaseContext) |
| HttpContext |
Der Kontext. (Geerbt von BaseContext<TOptions>) |
| Options |
Kontextobjekt, das an die ICookieAuthenticationEvents-Methode SignedIn übergeben wird. (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 konvertiert wurden. |
| Principal |
Ruft die ClaimsPrincipal enthaltenden Benutzeransprüche ab. (Geerbt von PrincipalContext<TOptions>) |
| Properties |
Enthält die zusätzlichen Daten, die im ausgehenden Cookie enthalten waren. |
| Properties |
Ruft den AuthenticationProperties ab oder legt ihn fest. (Geerbt von PropertiesContext<TOptions>) |
| Request |
Kontextobjekt, das an die ICookieAuthenticationEvents-Methode SignedIn übergeben wird. (Geerbt von BaseContext) |
| Request |
Die Anforderung. (Geerbt von BaseContext<TOptions>) |
| Response |
Kontextobjekt, das an die ICookieAuthenticationEvents-Methode SignedIn übergeben wird. (Geerbt von BaseContext) |
| Response |
Die Antwort. (Geerbt von BaseContext<TOptions>) |
| Scheme |
Das Authentifizierungsschema. (Geerbt von BaseContext<TOptions>) |