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)
Syntax
public interface ILoginProvider
public interface class ILoginProvider
type ILoginProvider = interface end
Public Interface ILoginProvider
Properties
Name | Description | |
---|---|---|
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. |
Methods
Name | Description | |
---|---|---|
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 |
|
ParseCredentials(JObject) | Deserialize the specified provider credentials |
Remarks
Rather than implementing this interface directly, it is recommended to derive from LoginProvider.
See Also
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top