Share via


ServiceAuthenticationMiddleware Constructor (OwinMiddleware, IAppBuilder, ServiceAuthenticationOptions, IServiceTokenHandler)

 

Initializes a new instance of the ServiceAuthenticationMiddleware class.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

public ServiceAuthenticationMiddleware(
    OwinMiddleware next,
    IAppBuilder appBuilder,
    ServiceAuthenticationOptions options,
    IServiceTokenHandler tokenHandler
)
public:
ServiceAuthenticationMiddleware(
    OwinMiddleware^ next,
    IAppBuilder^ appBuilder,
    ServiceAuthenticationOptions^ options,
    IServiceTokenHandler^ tokenHandler
)
new : 
        next:OwinMiddleware *
        appBuilder:IAppBuilder *
        options:ServiceAuthenticationOptions *
        tokenHandler:IServiceTokenHandler -> ServiceAuthenticationMiddleware
Public Sub New (
    next As OwinMiddleware,
    appBuilder As IAppBuilder,
    options As ServiceAuthenticationOptions,
    tokenHandler As IServiceTokenHandler
)

Parameters

  • appBuilder
    Type: Owin.IAppBuilder

    The IAppBuilder to configure.

See Also

ServiceAuthenticationMiddleware Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace

Return to top