AzureActiveDirectoryLoginProvider Class
Provides an LoginProvider implementation providing support for Azure Active Directory 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.AzureActiveDirectoryLoginProvider
Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectoryExtendedLoginProvider
Syntax
public class AzureActiveDirectoryLoginProvider : LoginProvider
public ref class AzureActiveDirectoryLoginProvider : LoginProvider
type AzureActiveDirectoryLoginProvider =
class
inherit LoginProvider
end
Public Class AzureActiveDirectoryLoginProvider
Inherits LoginProvider
Constructors
Name | Description | |
---|---|---|
AzureActiveDirectoryLoginProvider(HttpConfiguration, IServiceTokenHandler) | Initializes a new instance of the AzureActiveDirectoryLoginProvider class with a given config, and tokenHandler. |
Properties
Name | Description | |
---|---|---|
Config | Gets the HttpConfiguration for this instance. |
|
Name | (Overrides LoginProvider.Name.) |
|
TokenHandler | Gets the IServiceTokenHandler for this instance.(Inherited from LoginProvider.) |
|
TokenLifetime | Gets or sets the lifetime for generated tokens.(Inherited from LoginProvider.) |
Methods
Name | Description | |
---|---|---|
ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary) | (Overrides LoginProvider.ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary).) |
|
CreateCredentials(ClaimsIdentity) | (Overrides LoginProvider.CreateCredentials(ClaimsIdentity).) |
|
CreateLoginResult(ClaimsIdentity, String) | Creates a login result to return after a successful login.(Inherited from LoginProvider.) |
|
CreateTokenInfo(ClaimsIdentity, ProviderCredentials, String) | (Overrides LoginProvider.CreateTokenInfo(ClaimsIdentity, ProviderCredentials, String).) |
|
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.(Inherited from LoginProvider.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetSingleTenant(Collection<String>) | Gets the single tenant used for OWIN middleware validation. The current Azure Active Directory OWIN middleware only supports single-tenant validation. In case we have a single tenant then we let the middleware do the validation but if there are multiple tenants then we do the validation here. |
|
GetTenants(ServiceSettingsDictionary) | Returns the set of tenants that have been registered for tenant issuer validation. |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ParseCredentials(JObject) | (Overrides LoginProvider.ParseCredentials(JObject).) |
|
ToString() | (Inherited from Object.) |
|
UseCustomAzureActiveDirectoryBearerAuthentication(IAppBuilder, WindowsAzureActiveDirectoryBearerAuthenticationOptions) | Registers the OWIN middleware for Azure Active Directory client flow authentication. |
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