Поделиться через


ActiveDirectoryFederationServicesBearerAuthenticationOptions Class

 

Options to configure the Active Directory Federation Services JWT middleware.

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

Inheritance Hierarchy

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

Syntax

public class ActiveDirectoryFederationServicesBearerAuthenticationOptions : AuthenticationOptions
public ref class ActiveDirectoryFederationServicesBearerAuthenticationOptions : AuthenticationOptions
type ActiveDirectoryFederationServicesBearerAuthenticationOptions = 
    class
        inherit AuthenticationOptions
    end
Public Class ActiveDirectoryFederationServicesBearerAuthenticationOptions
    Inherits AuthenticationOptions

Constructors

Name Description
System_CAPS_pubmethod ActiveDirectoryFederationServicesBearerAuthenticationOptions()

Initializes a new instance of the ActiveDirectoryFederationServicesBearerAuthenticationOptions class.

Properties

Name Description
System_CAPS_pubproperty Audience

Obsolete.Gets or sets the expected audience for any received JWT token.

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty BackchannelCertificateValidator

Gets or sets the a certificate validator to use to validate the metadata endpoint.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty BackchannelTimeout

Gets or sets timeout value in for back channel communications with the metadata endpoint.

System_CAPS_pubproperty Description

Additional information about the authentication type which is made available to the application.(Inherited from AuthenticationOptions.)

System_CAPS_pubproperty MetadataEndpoint

Gets or sets the WSFed Metadata Endpoint for the Security Token Service JWTs will be issued from.

System_CAPS_pubproperty Provider

Gets or sets the authentication provider.

System_CAPS_pubproperty Realm

Gets or sets the authentication realm.

System_CAPS_pubproperty TokenHandler

A System.IdentityModel.Tokens.SecurityTokenHandler designed for creating and validating Json Web Tokens.

System_CAPS_pubproperty TokenValidationParameters

Gets or sets the TokenValidationParameters used to determine if a token is valid.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.Owin.Security.ActiveDirectory Namespace

Return to top