Share via


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

  • app
    Type: IAppBuilder
    The application builder.

See Also

Reference

OAuthBearerAuthenticationMiddleware Class

Microsoft.Owin.Security.OAuth Namespace