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
System_CAPS_pubmethod AzureActiveDirectoryLoginProvider(HttpConfiguration, IServiceTokenHandler)

Initializes a new instance of the AzureActiveDirectoryLoginProvider class with a given config, and 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)

(Overrides LoginProvider.CreateTokenInfo(ClaimsIdentity, ProviderCredentials, String).)

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_protmethod 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.

System_CAPS_protmethod GetTenants(ServiceSettingsDictionary)

Returns the set of tenants that have been registered for tenant issuer validation.

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

System_CAPS_protmethod 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