IAuthenticationHandler.ForbidAsync(AuthenticationProperties) Método

Definição

Proibir a solicitação atual.

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

Parâmetros

properties
AuthenticationProperties

O AuthenticationProperties que contém os metadados extras que chegam com a autenticação.

Retornos

Uma tarefa.

Aplica-se a