AuthenticationHandler<TOptions>.HandleForbiddenAsync AuthenticationHandler<TOptions>.HandleForbiddenAsync AuthenticationHandler<TOptions>.HandleForbiddenAsync Method

Definition

Overloads

HandleForbiddenAsync(AuthenticationProperties) HandleForbiddenAsync(AuthenticationProperties) HandleForbiddenAsync(AuthenticationProperties)

Override this method to handle Forbid.

HandleForbiddenAsync(ChallengeContext) HandleForbiddenAsync(ChallengeContext) HandleForbiddenAsync(ChallengeContext)

Override this method to deal with a challenge that is forbidden.

HandleForbiddenAsync(AuthenticationProperties) HandleForbiddenAsync(AuthenticationProperties) HandleForbiddenAsync(AuthenticationProperties)

Override this method to handle Forbid.

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

Parameters

Returns

A Task.

HandleForbiddenAsync(ChallengeContext) HandleForbiddenAsync(ChallengeContext) HandleForbiddenAsync(ChallengeContext)

Override this method to deal with a challenge that is forbidden.

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)

Parameters

Returns

The returned boolean is ignored.

Applies to