Share via


CookieAuthenticationMiddleware Constructor (OwinMiddleware, IAppBuilder, CookieAuthenticationOptions)

 

Initializes a CookieAuthenticationMiddleware.

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

Syntax

public CookieAuthenticationMiddleware(
    OwinMiddleware next,
    IAppBuilder app,
    CookieAuthenticationOptions options
)
public:
CookieAuthenticationMiddleware(
    OwinMiddleware^ next,
    IAppBuilder^ app,
    CookieAuthenticationOptions^ options
)
new : 
        next:OwinMiddleware *
        app:IAppBuilder *
        options:CookieAuthenticationOptions -> CookieAuthenticationMiddleware
Public Sub New (
    next As OwinMiddleware,
    app As IAppBuilder,
    options As CookieAuthenticationOptions
)

Parameters

  • app
    Type: Owin.IAppBuilder

    The OWIN application

See Also

CookieAuthenticationMiddleware Class
Microsoft.Owin.Security.Cookies Namespace

Return to top