AuthenticationHandler<TOptions>.ForbidAsync Metoda

Definice

Zakažte aktuální požadavek.

C#
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
C#
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);

Parametry

properties
AuthenticationProperties

Obsahuje AuthenticationProperties další metadata přicházející s ověřováním.

Návraty

Úkol.

Implementuje

Platí pro

Produkt Verze
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0