ILoginProvider Interface

 

Provides an abstraction for authenticating clients logging into a mobile service. Public ILoginProvider implementations are automatically registered with the dependency injection engine.

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

public interface class ILoginProvider

NameDescription
System_CAPS_pubpropertyName

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.

NameDescription
System_CAPS_pubmethodConfigureMiddleware(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.

System_CAPS_pubmethodCreateCredentials(ClaimsIdentity^)

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

System_CAPS_pubmethodCreateLoginResult(ClaimsIdentity^, String^)

Creates a login result to return after a successful login

System_CAPS_pubmethodParseCredentials(JObject^)

Deserialize the specified provider credentials

Rather than implementing this interface directly, it is recommended to derive from LoginProvider.

Return to top
Show: