Share via


MicrosoftAccountLoginProvider Class

 

Provides an LoginProvider implementation providing support for Microsoft Account authentication.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security.Providers
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Security.LoginProvider
    Microsoft.WindowsAzure.Mobile.Service.Security.Providers.MicrosoftAccountLoginProvider

Syntax

public class MicrosoftAccountLoginProvider : LoginProvider
public ref class MicrosoftAccountLoginProvider : LoginProvider
type MicrosoftAccountLoginProvider = 
    class
        inherit LoginProvider
    end
Public Class MicrosoftAccountLoginProvider
    Inherits LoginProvider

Constructors

Name Description
System_CAPS_pubmethod MicrosoftAccountLoginProvider(HttpConfiguration, IServiceTokenHandler)

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

Properties

Name Description
System_CAPS_protproperty Config

Gets the HttpConfiguration for this instance.

System_CAPS_pubproperty Name

(Overrides LoginProvider.Name.)

System_CAPS_protproperty TokenHandler

Gets the IServiceTokenHandler for this instance.(Inherited from LoginProvider.)

System_CAPS_protproperty TokenLifetime

Gets or sets the lifetime for generated tokens.(Inherited from LoginProvider.)

Methods

Name Description
System_CAPS_pubmethod ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary)

(Overrides LoginProvider.ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary).)

System_CAPS_pubmethod CreateCredentials(ClaimsIdentity)

(Overrides LoginProvider.CreateCredentials(ClaimsIdentity).)

System_CAPS_pubmethod CreateLoginResult(ClaimsIdentity, String)

Creates a login result to return after a successful login.(Inherited from LoginProvider.)

System_CAPS_protmethod 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.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetClientFlowAuthenticationType()

Gets the name under which the OWIN middleware handling the client flow should be registered.(Inherited from LoginProvider.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ParseCredentials(JObject)

(Overrides LoginProvider.ParseCredentials(JObject).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Mobile.Service.Security.Providers Namespace

Return to top