Dela via


ServiceAuthenticationMiddleware Constructor

Definition

Initializes a new instance of the ServiceAuthenticationMiddleware class.

public ServiceAuthenticationMiddleware (Microsoft.Owin.OwinMiddleware next, Owin.IAppBuilder appBuilder, Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationOptions options, Microsoft.WindowsAzure.Mobile.Service.Security.IServiceTokenHandler tokenHandler);
new Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationMiddleware : Microsoft.Owin.OwinMiddleware * Owin.IAppBuilder * Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationOptions * Microsoft.WindowsAzure.Mobile.Service.Security.IServiceTokenHandler -> Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationMiddleware
Public Sub New (next As OwinMiddleware, appBuilder As IAppBuilder, options As ServiceAuthenticationOptions, tokenHandler As IServiceTokenHandler)

Parameters

appBuilder
Owin.IAppBuilder

The Owin.IAppBuilder to configure.

options
ServiceAuthenticationOptions

The options for this middleware.

tokenHandler
IServiceTokenHandler

The IServiceTokenHandler to use for processing tokens.

Applies to