Share via


OAuthAuthorizationServerMiddleware Constructor

Authorization Server middleware component which is added to an OWIN pipeline. This constructor is not called by application code directly, instead it is added by calling the the IAppBuilder UseOAuthAuthorizationServer extension method.

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 OAuthAuthorizationServerOptions _
)
'Usage
Dim next As OwinMiddleware 
Dim app As IAppBuilder 
Dim options As OAuthAuthorizationServerOptions 

Dim instance As New OAuthAuthorizationServerMiddleware(next, app, _
    options)
public OAuthAuthorizationServerMiddleware(
    OwinMiddleware next,
    IAppBuilder app,
    OAuthAuthorizationServerOptions options
)
public:
OAuthAuthorizationServerMiddleware(
    OwinMiddleware^ next, 
    IAppBuilder^ app, 
    OAuthAuthorizationServerOptions^ options
)
new : 
        next:OwinMiddleware * 
        app:IAppBuilder * 
        options:OAuthAuthorizationServerOptions -> OAuthAuthorizationServerMiddleware
public function OAuthAuthorizationServerMiddleware(
    next : OwinMiddleware, 
    app : IAppBuilder, 
    options : OAuthAuthorizationServerOptions
)

Parameters

  • app
    Type: IAppBuilder

See Also

Reference

OAuthAuthorizationServerMiddleware Class

Microsoft.Owin.Security.OAuth Namespace