SessionsBinaryControllerPostCloseSession - метод

Close current session determined by HTTP auth header. Returns flag whether session was present and was closed.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("CloseSession")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<bool> PostCloseSession(
	CancellationToken cancellationToken = default
)

Параметры

cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskBoolean
true if session was present and was closed; false otherwise.

См. также