C# Class Microsoft.WindowsAzure.MobileServices.MobileServiceClientExtensions

Provides extension methods on MobileServiceClient.
ファイルを表示 Open project: Azure/azure-mobile-apps-net-client

Public Methods

Method Description
GetPush ( this client ) : Push

Extension method to get a Push object made from an existing MobileServiceClient.

LoginAsync ( this client, MobileServiceAuthenticationProvider provider ) : Task

Log a user into a Mobile Services application given a provider name.

LoginAsync ( this client, MobileServiceAuthenticationProvider provider, string>.IDictionary parameters ) : Task

Log a user into a Mobile Services application given a provider name.

LoginAsync ( this client, string provider ) : Task

Log a user into a Mobile Services application given a provider name.

LoginAsync ( this client, string provider, string>.IDictionary parameters ) : Task

Log a user into a Mobile Services application given a provider name.

LoginComplete ( this client, WebAuthenticationBrokerContinuationEventArgs result ) : void

Finishes the login process initiated by the LoginAsync() call, should be called from the App OnActivated event when it is triggered due to the Web Authentication Broker

Method Details

GetPush() public static method

Extension method to get a Push object made from an existing MobileServiceClient.
public static GetPush ( this client ) : Push
client this /// The to create with. ///
return Push

LoginAsync() public static method

Log a user into a Mobile Services application given a provider name.
public static LoginAsync ( this client, MobileServiceAuthenticationProvider provider ) : Task
client this /// The client. ///
provider MobileServiceAuthenticationProvider /// Authentication provider to use. ///
return Task

LoginAsync() public static method

Log a user into a Mobile Services application given a provider name.
public static LoginAsync ( this client, MobileServiceAuthenticationProvider provider, string>.IDictionary parameters ) : Task
client this /// The client. ///
provider MobileServiceAuthenticationProvider /// Authentication provider to use. ///
parameters string>.IDictionary /// Provider specific extra parameters that are sent as query string parameters to login endpoint. ///
return Task

LoginAsync() public static method

Log a user into a Mobile Services application given a provider name.
public static LoginAsync ( this client, string provider ) : Task
client this /// The client. ///
provider string /// Authentication provider to use. ///
return Task

LoginAsync() public static method

Log a user into a Mobile Services application given a provider name.
public static LoginAsync ( this client, string provider, string>.IDictionary parameters ) : Task
client this /// The client. ///
provider string /// Authentication provider to use. ///
parameters string>.IDictionary /// Provider specific extra parameters that are sent as query string parameters to login endpoint. ///
return Task

LoginComplete() public static method

Finishes the login process initiated by the LoginAsync() call, should be called from the App OnActivated event when it is triggered due to the Web Authentication Broker
public static LoginComplete ( this client, WebAuthenticationBrokerContinuationEventArgs result ) : void
client this /// The client. ///
result WebAuthenticationBrokerContinuationEventArgs /// Result from the Web Authentication Broker ///
return void