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)

public:
ServiceAuthenticationMiddleware(
	OwinMiddleware^ next,
	IAppBuilder^ appBuilder,
	ServiceAuthenticationOptions^ options,
	IServiceTokenHandler^ tokenHandler
)

Parameters

next
Type: Microsoft.Owin::OwinMiddleware^

The next OwinMiddleware.

appBuilder
Type: Owin::IAppBuilder^

The IAppBuilder to configure.

options
Type: Microsoft.WindowsAzure.Mobile.Service.Security::ServiceAuthenticationOptions^

The options for this middleware.

tokenHandler
Type: Microsoft.WindowsAzure.Mobile.Service.Security::IServiceTokenHandler^

The IServiceTokenHandler to use for processing tokens.

Return to top
Show: