MessageReceivedContext 클래스

정의

에 사용되는 컨텍스트 개체입니다 MessageReceived(MessageReceivedContext).

public ref class MessageReceivedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class MessageReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type MessageReceivedContext = class
    inherit RemoteAuthenticationContext<WsFederationOptions>
Public Class MessageReceivedContext
Inherits RemoteAuthenticationContext(Of WsFederationOptions)
상속

생성자

MessageReceivedContext(HttpContext, AuthenticationScheme, WsFederationOptions, AuthenticationProperties)

새 컨텍스트 개체를 만듭니다.

속성

HttpContext

컨텍스트입니다.

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

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

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

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

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

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

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

WsFederationMessage 이 요청에 대해 수신된 입니다.

Request

요청입니다.

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

응답입니다.

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

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

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

인증 체계입니다.

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

메서드

Fail(Exception)

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

(다음에서 상속됨 RemoteAuthenticationContext<TOptions>)
Fail(String)

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

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

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

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

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

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

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

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

적용 대상