RemoteAuthenticationHandler<TOptions>.HandleForbiddenAsync Methode

Definition

Überlädt

HandleForbiddenAsync(ChallengeContext)
HandleForbiddenAsync(AuthenticationProperties)

Überschreiben Sie diese Methode, um Forbid zu behandeln.

HandleForbiddenAsync(ChallengeContext)

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

Parameter

Gibt zurück

Gilt für:

HandleForbiddenAsync(AuthenticationProperties)

Quelle:
RemoteAuthenticationHandler.cs
Quelle:
RemoteAuthenticationHandler.cs
Quelle:
RemoteAuthenticationHandler.cs

Überschreiben Sie diese Methode, um Forbid zu behandeln.

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

Parameter

Gibt zurück

Eine Aufgabe.

Gilt für: