Compartilhar via


ServiceAuthenticationMiddleware Construtor

Definição

Inicializa uma nova instância da classe ServiceAuthenticationMiddleware.

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)

Parâmetros

next
Microsoft.Owin.OwinMiddleware

O próximo Microsoft.Owin.OwinMiddleware.

appBuilder
Owin.IAppBuilder

O Owin.IAppBuilder a ser configurado.

options
ServiceAuthenticationOptions

As opções para esse middleware.

tokenHandler
IServiceTokenHandler

O IServiceTokenHandler a ser usado para processar tokens.

Aplica-se a