Share via


AzureActiveDirectoryLoginAuthenticationProvider Class

 

Provides a specialized OAuthBearerAuthenticationProvider used by the AzureActiveDirectoryLoginProvider.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security.Providers
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider
    Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectoryLoginAuthenticationProvider
      Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectoryOpenIdConnectAuthenticationProvider

Syntax

public class AzureActiveDirectoryLoginAuthenticationProvider : OAuthBearerAuthenticationProvider
public ref class AzureActiveDirectoryLoginAuthenticationProvider : OAuthBearerAuthenticationProvider
type AzureActiveDirectoryLoginAuthenticationProvider = 
    class
        inherit OAuthBearerAuthenticationProvider
    end
Public Class AzureActiveDirectoryLoginAuthenticationProvider
    Inherits OAuthBearerAuthenticationProvider

Constructors

Name Description
System_CAPS_pubmethod AzureActiveDirectoryLoginAuthenticationProvider(HttpConfiguration)

Initializes a new instance of the AzureActiveDirectoryLoginAuthenticationProvider class with no tenant issuer validation.

System_CAPS_pubmethod AzureActiveDirectoryLoginAuthenticationProvider(HttpConfiguration, IEnumerable<String>)

Initializes a new instance of the AzureActiveDirectoryLoginAuthenticationProvider class with tenant issuer validation.

Properties

Name Description
System_CAPS_pubproperty Config

The HttpConfiguration associated with this instance.

System_CAPS_pubproperty OnApplyChallenge

(Inherited from OAuthBearerAuthenticationProvider.)

System_CAPS_pubproperty OnRequestToken

(Inherited from OAuthBearerAuthenticationProvider.)

System_CAPS_pubproperty OnValidateIdentity

(Inherited from OAuthBearerAuthenticationProvider.)

System_CAPS_pubproperty Tenants

The collection of tenants that should be allowed.

Methods

Name Description
System_CAPS_pubmethod ApplyChallenge(OAuthChallengeContext)

(Inherited from OAuthBearerAuthenticationProvider.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetTenantIssuer(HttpClient, String)

Returns the issuer for the specified tenant.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod InitializeTokenIssuers()

Initializes the token issuers by requesting the token issuer

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RequestToken(OAuthRequestTokenContext)

(Overrides OAuthBearerAuthenticationProvider.RequestToken(OAuthRequestTokenContext).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod UpdateTokenContext(OAuthRequestTokenContext)

Gets the token from the Authorization HTTP header field or from the request body.

System_CAPS_pubmethod ValidateIdentity(OAuthValidateIdentityContext)

(Overrides OAuthBearerAuthenticationProvider.ValidateIdentity(OAuthValidateIdentityContext).)

System_CAPS_protmethod ValidateTokenIssuer(ClaimsIdentity)

Verifies that the identity tenant issuer is in the allowed set determined by the set of tenants configured for this service.

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