Поделиться через


PolicySchemeHandler.HandleForbiddenAsync(AuthenticationProperties) Метод

Определение

Переопределите этот метод для обработки запрета.

protected:
 override System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected override System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected override System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overrides Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task

Параметры

Возвращаемое значение

Задача.

Применяется к