OAuthControllerLogin - метод

Get login screen to use in conjunction with OAuth authentication.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.8
C#
[HttpGetAttribute("login")]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(302)]
public Task<IActionResult> Login(
	[FromQueryAttribute] string scheme,
	[FromQueryAttribute] string? redirectTo
)

Параметры

scheme  String
Authentication scheme.
redirectTo  String
URL to redirect to after successful login.

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

TaskIActionResult
Login screen.

Заметки

Initiates a two-way call to an external authentication provider.

См. также