ContentControllerRevokeTokenAsync - метод

Revokes content token by it's hash.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("token/revoke")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ConsumesAttribute("text/plain", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<IActionResult> RevokeTokenAsync(
	[FromBodyAttribute] string hash,
	CancellationToken cancellationToken = default
)

Параметры

hash  String
Token hash hex string.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskIActionResult
Response to the request or status BadRequest if there are no registered handlers for requested type.

См. также