Share via


AuthenticationMiddleware<TOptions> Constructor

Initializes a new instance of the AuthenticationMiddleware<TOptions> class.

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

Syntax

'Declaration
Protected Sub New ( _
    next As OwinMiddleware, _
    options As TOptions _
)
'Usage
Dim next As OwinMiddleware 
Dim options As TOptions

Dim instance As New AuthenticationMiddleware(next, options)
protected AuthenticationMiddleware(
    OwinMiddleware next,
    TOptions options
)
protected:
AuthenticationMiddleware(
    OwinMiddleware^ next, 
    TOptions options
)
new : 
        next:OwinMiddleware * 
        options:'TOptions -> AuthenticationMiddleware
protected function AuthenticationMiddleware(
    next : OwinMiddleware, 
    options : TOptions
)

Parameters

  • options
    Type: TOptions
    The authentication options.

See Also

Reference

AuthenticationMiddleware<TOptions> Class

Microsoft.Owin.Security.Infrastructure Namespace