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


RemoteAuthenticationHandler<TOptions>.HandleAccessDeniedErrorAsync Метод

Определение

Производные типы могут переопределять этот метод для обработки ошибок отказа в доступе.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::HandleRequestResult ^> ^ HandleAccessDeniedErrorAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult> HandleAccessDeniedErrorAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member HandleAccessDeniedErrorAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
override this.HandleAccessDeniedErrorAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
Protected Overridable Function HandleAccessDeniedErrorAsync (properties As AuthenticationProperties) As Task(Of HandleRequestResult)

Параметры

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

HandleRequestResult.

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