다음을 통해 공유


AuthenticationHandler<TOptions>.HandleForbiddenAsync 메서드

정의

오버로드

HandleForbiddenAsync(AuthenticationProperties)

Forbid를 처리하도록 이 메서드를 재정의합니다.

HandleForbiddenAsync(ChallengeContext)

이 메서드를 재정의하여 금지된 챌린지를 처리합니다.

HandleForbiddenAsync(AuthenticationProperties)

Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs

Forbid를 처리하도록 이 메서드를 재정의합니다.

protected:
 virtual System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overridable Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task

매개 변수

반환

작업입니다.

적용 대상

HandleForbiddenAsync(ChallengeContext)

이 메서드를 재정의하여 금지된 챌린지를 처리합니다.

protected:
 virtual System::Threading::Tasks::Task<bool> ^ HandleForbiddenAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
protected virtual System.Threading.Tasks.Task<bool> HandleForbiddenAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
abstract member HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
Protected Overridable Function HandleForbiddenAsync (context As ChallengeContext) As Task(Of Boolean)

매개 변수

반환

반환된 부울은 무시됩니다.

적용 대상