MobileServiceClient.LoginAsync Method (String)
Logs a user into a Mobile Services application given an access token.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Public Function LoginAsync ( _
authenticationToken As String _
) As Task(Of MobileServiceUser)
'Usage
Dim instance As MobileServiceClient
Dim authenticationToken As String
Dim returnValue As Task(Of MobileServiceUser)
returnValue = instance.LoginAsync(authenticationToken)
public Task<MobileServiceUser> LoginAsync(
string authenticationToken
)
public:
Task<MobileServiceUser^>^ LoginAsync(
String^ authenticationToken
)
member LoginAsync :
authenticationToken:string -> Task<MobileServiceUser>
public function LoginAsync(
authenticationToken : String
) : Task<MobileServiceUser>
Parameters
- authenticationToken
Type: System.String
The authentication token for the login request.
Return Value
Type: System.Threading.Tasks.Task<MobileServiceUser>
The login request task.