OAuthControllerAccessDenied - метод

Get access denied error screen to use in conjunction with OAuth authentication.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
C#
[HttpGetAttribute("access-denied")]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(302)]
public IActionResult AccessDenied(
	[FromQueryAttribute] string? errorUri,
	[FromQueryAttribute] string? errorDescription,
	[FromQueryAttribute] string? redirectTo
)

Параметры

errorUri  String
Optional URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
errorDescription  String
Optional human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the error that occurred.
redirectTo  String
URL to redirect to after access denied error.

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

IActionResult
Access denied error screen.

См. также