AccessDeniedContext 클래스

정의

처리기 공급자에 대한 액세스 거부 실패 컨텍스트 정보를 제공합니다.

public ref class AccessDeniedContext : Microsoft::AspNetCore::Authentication::HandleRequestContext<Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^>
public class AccessDeniedContext : Microsoft.AspNetCore.Authentication.HandleRequestContext<Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions>
type AccessDeniedContext = class
    inherit HandleRequestContext<RemoteAuthenticationOptions>
Public Class AccessDeniedContext
Inherits HandleRequestContext(Of RemoteAuthenticationOptions)
상속

생성자

AccessDeniedContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions)

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

속성

AccessDeniedPath

사용자 에이전트가 리디렉션될 엔드포인트 경로를 가져오거나 설정합니다. 기본적으로 이 속성은 AccessDeniedPath로 설정됩니다.

HttpContext

컨텍스트입니다.

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

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

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

인증 세션의 추가 상태 값입니다.

Request

요청입니다.

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

응답입니다.

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

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

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

액세스 거부 페이지로 전달될 반환 URL을 가져오거나 설정합니다. 이 설정되지 않은 경우 ReturnUrlParameter 이 속성은 사용되지 않습니다.

ReturnUrlParameter

반환 URL을 이동하는 데 사용할 매개 변수 이름을 가져오거나 설정합니다. 기본적으로 이 속성은 ReturnUrlParameter로 설정됩니다.

Scheme

인증 체계입니다.

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

메서드

HandleResponse()

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

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

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

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

적용 대상