Share via


RemoteAuthenticationHandler<TOptions>.HandleAccessDeniedErrorAsync Méthode

Définition

Les types dérivés peuvent remplacer cette méthode pour gérer les erreurs d’accès refusé.

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

Paramètres

Retours

L’HandleRequestResultopérateur

S’applique à