共用方式為


MobileServiceClientExtensions.LoginWithMicrosoftAccountAsync Method

Definition

Log a user into a Mobile Services application given a Microsoft Account authentication token.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceUser> LoginWithMicrosoftAccountAsync (this Microsoft.WindowsAzure.MobileServices.MobileServiceClient thisClient, string authenticationToken);
static member LoginWithMicrosoftAccountAsync : Microsoft.WindowsAzure.MobileServices.MobileServiceClient * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceUser>
<Extension()>
Public Function LoginWithMicrosoftAccountAsync (thisClient As MobileServiceClient, authenticationToken As String) As Task(Of MobileServiceUser)

Parameters

thisClient
MobileServiceClient

The client with which to login.

authenticationToken
String

Live SDK session authentication token.

Returns

Task that will complete when the user has finished authentication.

Applies to