PrincipalContext<TOptions> 클래스

정의

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)

형식 매개 변수

TOptions
상속
파생

생성자

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

생성자입니다.

속성

HttpContext

컨텍스트입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Options

스키마와 연결된 인증 옵션을 가져옵니다.

(다음에서 상속됨 BaseContext<TOptions>)
Principal

사용자 클레임이 ClaimsPrincipal 포함된 을 가져옵니다.

Properties

AuthenticationProperties를 가져오거나 설정합니다.

(다음에서 상속됨 PropertiesContext<TOptions>)
Request

요청입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Response

응답입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Scheme

인증 체계입니다.

(다음에서 상속됨 BaseContext<TOptions>)

적용 대상