AuthenticationHandler<TOptions>.HandleForbiddenAsync Methode

Definition

Überlädt

HandleForbiddenAsync(AuthenticationProperties)

Überschreiben Sie diese Methode, um Forbid zu behandeln.

HandleForbiddenAsync(ChallengeContext)

Überschreiben Sie diese Methode, um eine Herausforderung zu bewältigen, die verboten ist.

HandleForbiddenAsync(AuthenticationProperties)

Überschreiben Sie diese Methode, um Forbid zu behandeln.

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

Parameter

Gibt zurück

Eine Aufgabe.

Gilt für:

HandleForbiddenAsync(ChallengeContext)

Überschreiben Sie diese Methode, um eine Herausforderung zu bewältigen, die verboten ist.

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)

Parameter

Gibt zurück

Der zurückgegebene boolesche Wert wird ignoriert.

Gilt für: