Partager via


IAuthenticationHandler.ForbidAsync(AuthenticationProperties) Méthode

Définition

Interdire la demande actuelle.

public:
 System::Threading::Tasks::Task ^ ForbidAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member ForbidAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ForbidAsync (properties As AuthenticationProperties) As Task

Paramètres

properties
AuthenticationProperties

AuthenticationProperties qui contient les métadonnées supplémentaires qui arrivent avec l’authentification.

Retours

Tâche.

S’applique à