TwoFactorAuthControllerPostCommand - метод

Process command request at 2FA session with info for login attempt with identifier id.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("{typeID:guid}/command/{id:guid}")]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<TwoFactorAuthResult>> PostCommand(
	[FromRouteAttribute] Guid id,
	[FromRouteAttribute] Guid typeID,
	[FromBodyAttribute] Dictionary<string, Object?>? info = null,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Login attempt identifier.
typeID  Guid
2FA type identifier.
info  DictionaryString, Object  (Optional)
Additional data for request processing.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultTwoFactorAuthResult
Result of processing command request at 2FA session.

См. также