Share via


LoginController.Get Method (String, String)

 

Handler for server login flows.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Controllers
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

public IHttpActionResult Get(
    string authenticationProvider,
    string error = null
)
public:
IHttpActionResult^ Get(
    String^ authenticationProvider,
    String^ error = null
)
member Get : 
        authenticationProvider:string *
        error:string = null -> IHttpActionResult
Public Function Get (
    authenticationProvider As String,
    error As String
) As IHttpActionResult

Parameters

  • authenticationProvider
    Type: System.String

    The authentication provider to use for the login

  • error
    Type: System.String

    The provider login error if an error occurred.

Return Value

Type: System.Web.Http.IHttpActionResult

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

See Also

LoginController Class
Microsoft.WindowsAzure.Mobile.Service.Controllers Namespace

Return to top