Share via


OAuthBearerAuthenticationMiddleware Constructor (OwinMiddleware, IAppBuilder, OAuthBearerAuthenticationOptions)

 

Bearer authentication 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 UseOAuthBearerAuthentication extension method.

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

Syntax

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 Sub New (
    next As OwinMiddleware,
    app As IAppBuilder,
    options As OAuthBearerAuthenticationOptions
)

Parameters

  • app
    Type: Owin.IAppBuilder

See Also

OAuthBearerAuthenticationMiddleware Class
Microsoft.Owin.Security.OAuth Namespace

Return to top