MobileServiceClient.LoginAsync Method (MobileServiceAuthenticationProvider, Boolean)

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Public Function LoginAsync ( _
    provider As MobileServiceAuthenticationProvider, _
    useSingleSignOn As Boolean _
) As Task(Of MobileServiceUser)
'Usage
Dim instance As MobileServiceClient 
Dim provider As MobileServiceAuthenticationProvider 
Dim useSingleSignOn As Boolean 
Dim returnValue As Task(Of MobileServiceUser)

returnValue = instance.LoginAsync(provider, _
    useSingleSignOn)
public Task<MobileServiceUser> LoginAsync(
    MobileServiceAuthenticationProvider provider,
    bool useSingleSignOn
)
public:
Task<MobileServiceUser^>^ LoginAsync(
    MobileServiceAuthenticationProvider provider, 
    bool useSingleSignOn
)
member LoginAsync : 
        provider:MobileServiceAuthenticationProvider * 
        useSingleSignOn:bool -> Task<MobileServiceUser> 
public function LoginAsync(
    provider : MobileServiceAuthenticationProvider, 
    useSingleSignOn : boolean
) : Task<MobileServiceUser>

Parameters

Return Value

Type: System.Threading.Tasks.Task<MobileServiceUser>

See Also

Reference

MobileServiceClient Class

LoginAsync Overload

Microsoft.WindowsAzure.MobileServices Namespace