AuthenticationFailedContext 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 사용되는 컨텍스트 개체입니다 AuthenticationFailed(AuthenticationFailedContext).
public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type AuthenticationFailedContext = class
inherit RemoteAuthenticationContext<WsFederationOptions>
Public Class AuthenticationFailedContext
Inherits RemoteAuthenticationContext(Of WsFederationOptions)
- 상속
-
AuthenticationFailedContext
생성자
| AuthenticationFailedContext(HttpContext, AuthenticationScheme, WsFederationOptions) |
새 컨텍스트 개체를 만듭니다. |
속성
| Exception |
Exception 이 이벤트를 트리거한 입니다. |
| 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() |
및 Properties를 사용하여 티켓 만들기 성공을 호출합니다Principal. (다음에서 상속됨 RemoteAuthenticationContext<TOptions>) |