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
- next
Type: Microsoft.Owin.OwinMiddleware
The next OWIN middleware.
- options
Type: TOptions
The authentication options.