Freigeben über


ServiceAuthenticationMiddleware Konstruktor

Definition

Initialisiert eine neue Instanz der ServiceAuthenticationMiddleware-Klasse.

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)

Parameter

next
Microsoft.Owin.OwinMiddleware

Der nächste Microsoft.Owin.OwinMiddleware.

appBuilder
Owin.IAppBuilder

Die zu konfigurierende Owin.IAppBuilder-Schnittstelle.

options
ServiceAuthenticationOptions

Die Optionen für diese Middleware.

tokenHandler
IServiceTokenHandler

Die , die IServiceTokenHandler für die Verarbeitung von Token verwendet werden soll.

Gilt für: