AuthenticationFailedContext 클래스

정의

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContext
public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContext
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type AuthenticationFailedContext = class
    inherit BaseOpenIdConnectContext
type AuthenticationFailedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class AuthenticationFailedContext
Inherits BaseOpenIdConnectContext
Public Class AuthenticationFailedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
상속
상속

생성자

AuthenticationFailedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions)

AuthenticationFailedContext의 새 인스턴스를 초기화합니다.

AuthenticationFailedContext(HttpContext, OpenIdConnectOptions)

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

속성

Exception

오류와 연결된 예외를 가져오거나 설정합니다.

HandledResponse

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseControlContext)
HttpContext

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseContext)
HttpContext

컨텍스트입니다.

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

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseOpenIdConnectContext)
Options

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

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

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

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

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

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

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

ProtocolMessage

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseOpenIdConnectContext)
Request

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseContext)
Request

요청입니다.

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

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseContext)
Response

응답입니다.

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

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

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

인증 체계입니다.

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

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseControlContext)
State

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseControlContext)
Ticket

이 이벤트가 이벤트를 처리했음을 알리는 경우 반환할 를 가져오거나 설정합니다 Ticket .

(다음에서 상속됨 BaseControlContext)

메서드

CheckEventResult(AuthenticateResult)

에 대한 컨텍스트입니다 AuthenticationFailed(AuthenticationFailedContext).

(다음에서 상속됨 BaseControlContext)
Fail(Exception)

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

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

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

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

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

(다음에서 상속됨 BaseControlContext)
HandleResponse()

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

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

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

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

현재 미들웨어에서 요청 처리를 중단하고 제어를 다음 항목에 전달합니다. SignIn은 호출되지 않습니다.

(다음에서 상속됨 BaseControlContext)
Success()

Properties를 사용하여 티켓 만들기 성공을 호출합니다Principal.

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

적용 대상