LoginController.Post(String) Method

Definition

Handler for client login flows (where the client provides the initial token instead of us obtaining it server side)

[System.Web.Http.AllowAnonymous]
public virtual System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> Post (string authenticationProvider);
[<System.Web.Http.AllowAnonymous>]
abstract member Post : string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
override this.Post : string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Overridable Function Post (authenticationProvider As String) As Task(Of HttpResponseMessage)

Parameters

authenticationProvider
String

The authentication provider to use for the login

Returns

If the login is successful, the method returns a LoginResult containing the login details. A 401 status code is returned otherwise.

Attributes
System.Web.Http.AllowAnonymousAttribute

Applies to