MicrosoftAccountLoginProvider Class

Definition

Provides an LoginProvider implementation providing support for Microsoft Account authentication.

public class MicrosoftAccountLoginProvider : Microsoft.WindowsAzure.Mobile.Service.Security.LoginProvider
type MicrosoftAccountLoginProvider = class
    inherit LoginProvider
Public Class MicrosoftAccountLoginProvider
Inherits LoginProvider
Inheritance
MicrosoftAccountLoginProvider

Constructors

MicrosoftAccountLoginProvider(HttpConfiguration, IServiceTokenHandler)

Initializes a new instance of the MicrosoftAccountLoginProvider class with a given tokenHandler.

Properties

Config

Gets the System.Web.Http.HttpConfiguration for this instance.

Name

Gets or sets the name uniquely identifying this ILoginProvider. The name is used to refer to the this ILoginProvider from the LoginController as well as from the OWIN application pipeline.

TokenHandler

Gets the IServiceTokenHandler for this instance.

(Inherited from LoginProvider)
TokenLifetime

Gets or sets the lifetime for generated tokens.

(Inherited from LoginProvider)

Methods

AuthenticateClient(HttpRequestMessage)
ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary)

Configures this module for participation in the OWIN application pipeline. The module should be configured as passive so as only to participate in the mobile service authentication process when requested by the LoginController.

CreateCredentials(ClaimsIdentity)

Return the set of provider specific credentials for inclusion in a login token

CreateLoginResult(ClaimsIdentity, String)

Creates a login result to return after a successful login.

(Inherited from LoginProvider)
CreateTokenInfo(ClaimsIdentity, ProviderCredentials, String)

Creates the final login token using the specified inputs. Derived classes can override to customize the login token produced.

(Inherited from LoginProvider)
GetClientFlowAuthenticationType()

Gets the name under which the OWIN middleware handling the client flow should be registered.

(Inherited from LoginProvider)
ParseCredentials(JObject)

Deserialize the specified provider credentials

Applies to