TwoFactorAuthControllerPostRestart - метод

Process restart 2FA session request with type typeID for login attempt with identifier id.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("{typeID:guid}/restart/{id:guid}")]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<TwoFactorAuthResult>> PostRestart(
	[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 restart 2FA session request.

См. также