Share via


CertificateAuthenticationFailedContext 클래스

정의

오류가 발생할 때 사용되는 컨텍스트입니다.

public ref class CertificateAuthenticationFailedContext : Microsoft::AspNetCore::Authentication::ResultContext<Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationOptions ^>
public class CertificateAuthenticationFailedContext : Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions>
type CertificateAuthenticationFailedContext = class
    inherit ResultContext<CertificateAuthenticationOptions>
Public Class CertificateAuthenticationFailedContext
Inherits ResultContext(Of CertificateAuthenticationOptions)
상속

생성자

CertificateAuthenticationFailedContext(HttpContext, AuthenticationScheme, CertificateAuthenticationOptions)

생성자입니다.

속성

Exception

예외입니다.

HttpContext

컨텍스트입니다.

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

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

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

사용자 클레임을 ClaimsPrincipal 포함하는 을 가져오거나 설정합니다.

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

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

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

요청입니다.

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

응답입니다.

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

결과를 가져옵니다 AuthenticateResult .

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

인증 체계입니다.

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

메서드

Fail(Exception)

인증 중에 오류가 발생했음을 나타냅니다.

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

인증 중에 오류가 발생했음을 나타냅니다.

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

이 인증 체계에 대해 반환된 정보가 없음을 나타냅니다.

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

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

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

적용 대상