Share via


AzureActiveDirectoryExtendedLoginProvider Class

 

Provides an LoginProvider implementation providing support for Azure Active Directory authentication using both client and server side flow.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security.Providers
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Security (in Microsoft.WindowsAzure.Mobile.Service.Security.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 AzureActiveDirectoryExtendedLoginProvider : AzureActiveDirectoryLoginProvider
public ref class AzureActiveDirectoryExtendedLoginProvider : AzureActiveDirectoryLoginProvider
type AzureActiveDirectoryExtendedLoginProvider = 
    class
        inherit AzureActiveDirectoryLoginProvider
    end
Public Class AzureActiveDirectoryExtendedLoginProvider
    Inherits AzureActiveDirectoryLoginProvider

Constructors

Name Description
System_CAPS_pubmethod AzureActiveDirectoryExtendedLoginProvider(HttpConfiguration, IServiceTokenHandler)

Initializes a new instance of the AzureActiveDirectoryExtendedLoginProvider class with a given config, and tokenHandler.

Properties

Name Description
System_CAPS_pubproperty Audience

Gets the Azure Active Directory for this service as defined by AzureActiveDirectoryAudience.

System_CAPS_protproperty Config

Gets the HttpConfiguration for this instance.(Inherited from AzureActiveDirectoryLoginProvider.)

System_CAPS_pubproperty Name

(Inherited from AzureActiveDirectoryLoginProvider.)

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 AzureActiveDirectoryLoginProvider.ConfigureMiddleware(IAppBuilder, ServiceSettingsDictionary).)

System_CAPS_pubmethod CreateCredentials(ClaimsIdentity)

(Overrides AzureActiveDirectoryLoginProvider.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)

(Inherited from AzureActiveDirectoryLoginProvider.)

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.(Inherited from AzureActiveDirectoryLoginProvider.)

System_CAPS_protmethod GetTenants(ServiceSettingsDictionary)

Returns the set of tenants that have been registered for tenant issuer validation.(Inherited from AzureActiveDirectoryLoginProvider.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ParseCredentials(JObject)

(Inherited from AzureActiveDirectoryLoginProvider.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod UseCustomAzureActiveDirectoryBearerAuthentication(IAppBuilder, WindowsAzureActiveDirectoryBearerAuthenticationOptions)

Registers the OWIN middleware for Azure Active Directory client flow authentication.(Inherited from AzureActiveDirectoryLoginProvider.)

System_CAPS_protmethod UseCustomAzureActiveDirectoryOpenIdConnectAuthentication(IAppBuilder, AzureActiveDirectoryOpenIdConnectAuthenticationOptions)

Registers the OWIN middleware for Azure Active Directory server 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