MobileAppAuthenticationMiddleware Constructor (OwinMiddleware, IAppBuilder, MobileAppAuthenticationOptions, IMobileAppTokenHandler)
Initializes a new instance of the MobileAppAuthenticationMiddleware class.
Namespace: Microsoft.Azure.Mobile.Server.Authentication
Assembly: Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)
Syntax
public MobileAppAuthenticationMiddleware(
OwinMiddleware next,
IAppBuilder appBuilder,
MobileAppAuthenticationOptions options,
IMobileAppTokenHandler tokenHandler
)
public:
MobileAppAuthenticationMiddleware(
OwinMiddleware^ next,
IAppBuilder^ appBuilder,
MobileAppAuthenticationOptions^ options,
IMobileAppTokenHandler^ tokenHandler
)
new :
next:OwinMiddleware *
appBuilder:IAppBuilder *
options:MobileAppAuthenticationOptions *
tokenHandler:IMobileAppTokenHandler -> MobileAppAuthenticationMiddleware
Public Sub New (
next As OwinMiddleware,
appBuilder As IAppBuilder,
options As MobileAppAuthenticationOptions,
tokenHandler As IMobileAppTokenHandler
)
Parameters
next
Type: Microsoft.Owin.OwinMiddlewareThe next OwinMiddleware.
appBuilder
Type: Owin.IAppBuilderThe IAppBuilder to configure.
options
Type: Microsoft.Azure.Mobile.Server.Authentication.MobileAppAuthenticationOptionsThe options for this middleware.
tokenHandler
Type: Microsoft.Azure.Mobile.Server.Authentication.IMobileAppTokenHandlerThe IMobileAppTokenHandler to use for processing tokens.
See Also
MobileAppAuthenticationMiddleware Class
Microsoft.Azure.Mobile.Server.Authentication Namespace
Return to top