Share via


AuthenticationHandler<TOptions>.ForbidAsync Método

Definición

Prohibir la solicitud actual.

public:
 virtual 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
override this.ForbidAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ForbidAsync (properties As AuthenticationProperties) As Task

Parámetros

properties
AuthenticationProperties

AuthenticationProperties que contiene los metadatos adicionales que llegan con la autenticación.

Devoluciones

Una tarea.

Implementaciones

Se aplica a