LoginProvider Class
This class provides a base implementation of the ILoginProvider interface defining a common base for authenticating clients logging into a mobile service.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Security
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.AzureActiveDirectoryLoginProvider
Microsoft.WindowsAzure.Mobile.Service.Security.Providers.FacebookLoginProvider
Microsoft.WindowsAzure.Mobile.Service.Security.Providers.GoogleLoginProvider
Microsoft.WindowsAzure.Mobile.Service.Security.Providers.MicrosoftAccountLoginProvider
Microsoft.WindowsAzure.Mobile.Service.Security.Providers.TwitterLoginProvider
Syntax
public abstract class LoginProvider : ILoginProvider
public ref class LoginProvider abstract : ILoginProvider
[<AbstractClass>]
type LoginProvider =
class
interface ILoginProvider
end
Public MustInherit Class LoginProvider
Implements ILoginProvider
Constructors
Name | Description | |
---|---|---|
LoginProvider(IServiceTokenHandler) | Initializes a new instance of the LoginProvider with a given tokenHandler for processing tokens. |
Properties
Name | Description | |
---|---|---|
Name | ||
TokenHandler | Gets the IServiceTokenHandler for this instance. |
|
TokenLifetime | Gets or sets the lifetime for generated tokens. |
Methods
Name | Description | |
---|---|---|
ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary) | ||
CreateCredentials(ClaimsIdentity) | ||
CreateLoginResult(ClaimsIdentity, String) | Creates a login result to return after a successful login. |
|
CreateTokenInfo(ClaimsIdentity, ProviderCredentials, String) | Creates the final login token using the specified inputs. Derived classes can override to customize the login token produced. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetClientFlowAuthenticationType() | Gets the name under which the OWIN middleware handling the client flow should be registered. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ParseCredentials(JObject) | ||
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 Namespace
Return to top