AzureActiveDirectoryLoginAuthenticationProvider Class

Definition

Provides a specialized Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider used by the AzureActiveDirectoryLoginProvider.

public class AzureActiveDirectoryLoginAuthenticationProvider : Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider
type AzureActiveDirectoryLoginAuthenticationProvider = class
    inherit OAuthBearerAuthenticationProvider
Public Class AzureActiveDirectoryLoginAuthenticationProvider
Inherits OAuthBearerAuthenticationProvider
Inheritance
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider
AzureActiveDirectoryLoginAuthenticationProvider
Derived

Constructors

AzureActiveDirectoryLoginAuthenticationProvider(HttpConfiguration, IEnumerable<String>)

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

AzureActiveDirectoryLoginAuthenticationProvider(HttpConfiguration)

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

Properties

Config

The System.Web.Http.HttpConfiguration associated with this instance.

Tenants

The collection of tenants that should be allowed.

Methods

GetTenantIssuer(HttpClient, String)

Returns the issuer for the specified tenant.

InitializeTokenIssuers()

Initializes the token issuers by requesting the token issuer

RequestToken(OAuthRequestTokenContext) Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider.RequestToken(Microsoft.Owin.Security.OAuth.OAuthRequestTokenContext)
UpdateTokenContext(OAuthRequestTokenContext)

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

ValidateIdentity(OAuthValidateIdentityContext) Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider.ValidateIdentity(Microsoft.Owin.Security.OAuth.OAuthValidateIdentityContext)
ValidateTokenIssuer(ClaimsIdentity)

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

Applies to