WindowsAzureActiveDirectoryBearerAuthenticationOptions Class

Options to configure the Windows Azure Active Directory JWT middleware.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    Microsoft.Owin.Security.ActiveDirectory.WindowsAzureActiveDirectoryBearerAuthenticationOptions

Namespace:  Microsoft.Owin.Security.ActiveDirectory
Assembly:  Microsoft.Owin.Security.ActiveDirectory (in Microsoft.Owin.Security.ActiveDirectory.dll)

Syntax

'Declaration
Public Class WindowsAzureActiveDirectoryBearerAuthenticationOptions _
    Inherits AuthenticationOptions
'Usage
Dim instance As WindowsAzureActiveDirectoryBearerAuthenticationOptions
public class WindowsAzureActiveDirectoryBearerAuthenticationOptions : AuthenticationOptions
public ref class WindowsAzureActiveDirectoryBearerAuthenticationOptions : public AuthenticationOptions
type WindowsAzureActiveDirectoryBearerAuthenticationOptions =  
    class 
        inherit AuthenticationOptions 
    end
public class WindowsAzureActiveDirectoryBearerAuthenticationOptions extends AuthenticationOptions

The WindowsAzureActiveDirectoryBearerAuthenticationOptions type exposes the following members.

Constructors

  Name Description
Public method WindowsAzureActiveDirectoryBearerAuthenticationOptions Initializes a new instance of the WindowsAzureActiveDirectoryBearerAuthenticationOptions class.

Top

Properties

  Name Description
Public property Audience Gets or sets the expected audience for any received JWT token.
Public property AuthenticationMode If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType. (Inherited from AuthenticationOptions.)
Public property AuthenticationType The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline. (Inherited from AuthenticationOptions.)
Public property BackchannelCertificateValidator Gets or sets the a certificate validator to use to validate the metadata endpoint.
Public property BackchannelHttpHandler The HttpMessageHandler used to communicate with the metadata endpoint. This cannot be set at the same time as BackchannelCertificateValidator unless the value can be downcast to a WebRequestHandler.
Public property BackchannelTimeout Gets or sets timeout value in for back channel communications with the metadata endpoint.
Public property Description Additional information about the authentication type which is made available to the application. (Inherited from AuthenticationOptions.)
Public property Provider Gets or sets the authentication provider.
Public property Realm Gets or sets the authentication realm.
Public property Tenant Gets or sets the Azure Active Directory tenant the tokens are issued from.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Security.ActiveDirectory Namespace