LoginController.Post(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET