PrincipalContext<TOptions> Klasa

Definicja

Kontekst podstawowy dla zdarzeń uwierzytelniania, które dotyczą obiektu ClaimsPrincipal.

generic <typename TOptions>
 where TOptions : AuthenticationSchemeOptionspublic ref class PrincipalContext abstract : Microsoft::AspNetCore::Authentication::PropertiesContext<TOptions>
public abstract class PrincipalContext<TOptions> : Microsoft.AspNetCore.Authentication.PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
type PrincipalContext<'Options (requires 'Options :> AuthenticationSchemeOptions)> = class
    inherit PropertiesContext<'Options (requires 'Options :> AuthenticationSchemeOptions)>
Public MustInherit Class PrincipalContext(Of TOptions)
Inherits PropertiesContext(Of TOptions)

Parametry typu

TOptions
Dziedziczenie
Pochodne

Konstruktory

PrincipalContext<TOptions>(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties)

Konstruktor.

Właściwości

HttpContext

Kontekst.

(Odziedziczone po BaseContext<TOptions>)
Options

Pobiera opcje uwierzytelniania skojarzone ze schematem.

(Odziedziczone po BaseContext<TOptions>)
Principal

ClaimsPrincipal Pobiera zawierające oświadczenia użytkownika.

Properties

Pobiera lub ustawia wartość AuthenticationProperties.

(Odziedziczone po PropertiesContext<TOptions>)
Request

Żądanie.

(Odziedziczone po BaseContext<TOptions>)
Response

Odpowiedź.

(Odziedziczone po BaseContext<TOptions>)
Scheme

Schemat uwierzytelniania.

(Odziedziczone po BaseContext<TOptions>)

Dotyczy