Condividi tramite


MobileServiceTokenAuthentication Class

Definition

Provides an OAuth type token authentication scheme.

public class MobileServiceTokenAuthentication : Microsoft.WindowsAzure.MobileServices.Internal.MobileServiceAuthentication
type MobileServiceTokenAuthentication = class
    inherit MobileServiceAuthentication
Public Class MobileServiceTokenAuthentication
Inherits MobileServiceAuthentication
Inheritance
MobileServiceTokenAuthentication

Constructors

MobileServiceTokenAuthentication(MobileServiceClient, String, JObject, IDictionary<String,String>)

Instantiates a new instance of MobileServiceTokenAuthentication.

Fields

LoginAsyncDoneUriFragment

Relative URI fragment of the login/done endpoint.

(Inherited from MobileServiceAuthentication)
LoginAsyncUriFragment

Relative URI fragment of the login endpoint.

(Inherited from MobileServiceAuthentication)
WindowsAzureActiveDirectoryRestApiPathName

The name for the Azure Active Directory authentication provider as used by the service REST API.

(Inherited from MobileServiceAuthentication)

Properties

Client

The MobileServiceClient associated with this MobileServiceAuthentication instance.

(Inherited from MobileServiceAuthentication)
EndUri

The end Uri to use for authentication. This Uri indicates that the authentication flow has completed. Upon being redirected to any URL that starts with the endUrl, the browser-based control must stop navigating and return the response data.

(Inherited from MobileServiceAuthentication)
Parameters

Provider specific extra parameters that are sent as query string parameters to login endpoint.

(Inherited from MobileServiceAuthentication)
ProviderName

The name of the authentication provider used by this MobileServiceAuthentication instance.

(Inherited from MobileServiceAuthentication)
StartUri

The start uri to use for authentication. The browser-based control should first navigate to this Uri in order to start the authenication flow.

(Inherited from MobileServiceAuthentication)

Methods

LoginAsync()

Log a user into a Mobile Services application with the provider name and optional token object from this instance.

(Inherited from MobileServiceAuthentication)
LoginAsyncOverride()

Provides Login logic for an existing token.

Applies to