HostAuthenticationFilter Class

 

Represents an authentication filter that authenticates via OWIN middleware.

Namespace:   System.Web.Http
Assembly:  System.Web.Http.Owin (in System.Web.Http.Owin.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.HostAuthenticationFilter

Syntax

public class HostAuthenticationFilter : IAuthenticationFilter, 
    IFilter
public ref class HostAuthenticationFilter : IAuthenticationFilter, 
    IFilter
type HostAuthenticationFilter = 
    class
        interface IAuthenticationFilter
        interface IFilter
    end
Public Class HostAuthenticationFilter
    Implements IAuthenticationFilter, IFilter

Constructors

Name Description
System_CAPS_pubmethod HostAuthenticationFilter(String)

Initializes a new instance of the HostAuthenticationFilter class.

Properties

Name Description
System_CAPS_pubproperty AllowMultiple

Gets a value indicating whether the filter allows multiple authentication.

System_CAPS_pubproperty AuthenticationType

Gets the authentication type of the OWIN middleware to use.

Methods

Name Description
System_CAPS_pubmethod AuthenticateAsync(HttpAuthenticationContext, CancellationToken)

Asynchronously authenticates the request.

System_CAPS_pubmethod ChallengeAsync(HttpAuthenticationChallengeContext, CancellationToken)

Asynchronously challenges an authentication.

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

System.Web.Http Namespace

Return to top