SessionsControllerGet - метод

Returns the current token in json form.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ProducesAttribute("application/json", new string[] { ... })]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<SessionToken>> Get(
	[FromQueryAttribute][SessionTokenAttribute] string? token = null,
	CancellationToken cancellationToken = default
)

Параметры

token  String  (Optional)
Current session token.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultSessionToken
Current token in json form.

См. также