AzureActiveDirectoryOpenIdConnectAuthenticationProvider Class

Definition

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

public class AzureActiveDirectoryOpenIdConnectAuthenticationProvider : Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectoryLoginAuthenticationProvider, Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
type AzureActiveDirectoryOpenIdConnectAuthenticationProvider = class
    inherit AzureActiveDirectoryLoginAuthenticationProvider
    interface IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
Public Class AzureActiveDirectoryOpenIdConnectAuthenticationProvider
Inherits AzureActiveDirectoryLoginAuthenticationProvider
Implements IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
Inheritance
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider
AzureActiveDirectoryOpenIdConnectAuthenticationProvider
Implements

Constructors

AzureActiveDirectoryOpenIdConnectAuthenticationProvider(HttpConfiguration, IEnumerable<String>)

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

AzureActiveDirectoryOpenIdConnectAuthenticationProvider(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.

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
Tenants

The collection of tenants that should be allowed.

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)

Methods

Authenticated(AzureActiveDirectoryOpenIdConnectAuthenticatedContext)

Called each time a request identity has been validated by the middleware. Gives the application an opportunity to alter or reject the identity which has arrived with the request.

GetTenantIssuer(HttpClient, String)

Returns the issuer for the specified tenant.

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
InitializeTokenIssuers()

Initializes the token issuers by requesting the token issuer

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
RequestToken(OAuthRequestTokenContext) (Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
UpdateTokenContext(OAuthRequestTokenContext)

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

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
ValidateIdentity(OAuthValidateIdentityContext) (Inherited from AzureActiveDirectoryLoginAuthenticationProvider)
ValidateTokenIssuer(ClaimsIdentity)

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

(Inherited from AzureActiveDirectoryLoginAuthenticationProvider)

Explicit Interface Implementations

IAzureActiveDirectoryOpenIdConnectAuthenticationProvider.RequestToken(AzureActiveDirectoryOpenIdConnectRequestTokenContext)

Invoked before the ClaimsIdentity is created. Gives the application an opportunity to find the identity from a different location, adjust, or reject the token.

Applies to