Condividi tramite


IAuthenticationHandler.ForbidAsync(AuthenticationProperties) Metodo

Definizione

Impedisci la richiesta corrente.

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

Parametri

properties
AuthenticationProperties

Oggetto AuthenticationProperties contenente i metadati aggiuntivi in arrivo con l'autenticazione.

Restituisce

Un'attività.

Si applica a