Udostępnij za pośrednictwem


IAuthenticationHandler.ForbidAsync(AuthenticationProperties) Metoda

Definicja

Zabronić bieżącego żądania.

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

Parametry

properties
AuthenticationProperties

Element AuthenticationProperties , który zawiera dodatkowe metadane przychodzące z uwierzytelnianiem.

Zwraca

Zadanie.

Dotyczy