Share via


HostAuthenticationAttribute Constructor (String)

 

Initializes a new instance of the HostAuthenticationAttribute class.

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

Syntax

public HostAuthenticationAttribute(
    string authenticationType
)
public:
HostAuthenticationAttribute(
    String^ authenticationType
)
new : 
        authenticationType:string -> HostAuthenticationAttribute
Public Sub New (
    authenticationType As String
)

Parameters

  • authenticationType
    Type: System.String

    The authentication type of the OWIN middleware to use.

See Also

HostAuthenticationAttribute Class
System.Web.Http Namespace

Return to top