RemoteAuthenticationContext<TOptions> 클래스

정의

원격 인증을 위한 기본 컨텍스트입니다.

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

형식 매개 변수

TOptions
상속
RemoteAuthenticationContext<TOptions>
파생

생성자

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

생성자입니다.

속성

HttpContext

컨텍스트입니다.

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

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

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

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

Properties

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

Request

요청입니다.

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

응답입니다.

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

HandleRequestResult 처리기에서 사용되는 입니다.

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

인증 체계입니다.

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

메서드

Fail(Exception)

인증에 실패했음을 나타냅니다.

Fail(String)

인증에 실패했음을 나타냅니다.

HandleResponse()

이 요청에 대한 모든 처리를 중단하고 클라이언트에 반환합니다. 호출자가 전체 응답을 생성합니다.

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

현재 처리기에서 요청 처리를 중단합니다.

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

및 를 사용하여 티켓을 Principal 만드는 성공을 호출합니다 Properties.

적용 대상