TwoFactorAuthControllerPostCheck - метод

Process check 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}/check/{id:guid}")]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<OpenSessionResponse>> PostCheck(
	[FromRouteAttribute] Guid id,
	[FromRouteAttribute] Guid typeID,
	[FromQueryAttribute] string version,
	[FromQueryAttribute] bool cookies = false,
	[FromQueryAttribute] bool browser = false,
	[FromBodyAttribute] Dictionary<string, Object?>? info = null,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Login attempt identifier.
typeID  Guid
2FA type identifier.
version  String
Platform version.
cookies  Boolean  (Optional)
Specifies that client uses cookies for authentication, i.e. it is web client or mobile app. Parameter is ignored if current application does not support web clients.
browser  Boolean  (Optional)
Specifies that client uses browser headers to provide info on client parameters, i.e. it is web client. Parameter is ignored if current application does not support web clients.
info  DictionaryString, Object  (Optional)
Additional data for request processing.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultOpenSessionResponse
Result of processing check request at 2FA session.

См. также