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
next
Type: Microsoft.Owin.OwinMiddlewareThe next OwinMiddleware.
appBuilder
Type: Owin.IAppBuilderThe IAppBuilder to configure.
options
Type: Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationOptionsThe options for this middleware.
tokenHandler
Type: Microsoft.WindowsAzure.Mobile.Service.Security.IServiceTokenHandlerThe IServiceTokenHandler to use for processing tokens.
See Also
ServiceAuthenticationMiddleware Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top