OAuthBearerAuthenticationMiddleware Constructor
Initializes a new instance of the OAuthBearerAuthenticationMiddleware class.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Sub New ( _
next As OwinMiddleware, _
app As IAppBuilder, _
options As OAuthBearerAuthenticationOptions _
)
'Usage
Dim next As OwinMiddleware
Dim app As IAppBuilder
Dim options As OAuthBearerAuthenticationOptions
Dim instance As New OAuthBearerAuthenticationMiddleware(next, app, _
options)
public OAuthBearerAuthenticationMiddleware(
OwinMiddleware next,
IAppBuilder app,
OAuthBearerAuthenticationOptions options
)
public:
OAuthBearerAuthenticationMiddleware(
OwinMiddleware^ next,
IAppBuilder^ app,
OAuthBearerAuthenticationOptions^ options
)
new :
next:OwinMiddleware *
app:IAppBuilder *
options:OAuthBearerAuthenticationOptions -> OAuthBearerAuthenticationMiddleware
public function OAuthBearerAuthenticationMiddleware(
next : OwinMiddleware,
app : IAppBuilder,
options : OAuthBearerAuthenticationOptions
)
Parameters
- next
Type: Microsoft.Owin.OwinMiddleware
The next OWIN middleware.
- app
Type: IAppBuilder
The application builder.
- options
Type: Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationOptions
The authentication options.