LoginBinaryControllerPostOpenSession - метод

Open session to login user by login/password pair. Returns session token in XML form, consumer should supply it to other web requests to authenticate.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.8
C#
[HttpPostAttribute("OpenSession")]
public Task<string> PostOpenSession(
	[FromBodyAttribute] FakeBinarySerializable parameters,
	[FromBodyAttribute] Guid applicationID,
	[FromBodyAttribute] string login,
	[FromBodyAttribute] string password,
	CancellationToken cancellationToken = default
)

Параметры

parameters  FakeBinarySerializable
Not used.
applicationID  Guid
Identifier of application to open session. Available identifiers are listed in ApplicationIdentifiers.
login  String
User login (unique name).
password  String
User password.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskString
Session token in XML form.

См. также