AuthenticationHandler<TOptions>.HandleForbiddenAsync メソッド

定義

オーバーロード

HandleForbiddenAsync(AuthenticationProperties)

Forbid を処理するには、このメソッドをオーバーライドします。

HandleForbiddenAsync(ChallengeContext)

このメソッドをオーバーライドして、禁止されているチャレンジに対処します。

HandleForbiddenAsync(AuthenticationProperties)

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)

パラメーター

戻り値

返されたブール値は無視されます。

適用対象