Class MicrosoftAccountAuthenticationMiddleware2
Inheritance
System.Object
MicrosoftAccountAuthenticationMiddleware2
Namespace: ImageVault.Web.Security.Identity
Assembly: ImageVault.Web.dll
Syntax
public class MicrosoftAccountAuthenticationMiddleware2 : AuthenticationMiddleware<MicrosoftAccountAuthenticationOptions>
Constructors
MicrosoftAccountAuthenticationMiddleware2(OwinMiddleware, IAppBuilder, MicrosoftAccountAuthenticationOptions)
Initializes a MicrosoftAccountAuthenticationMiddleware2
Declaration
public MicrosoftAccountAuthenticationMiddleware2(OwinMiddleware next, IAppBuilder app, MicrosoftAccountAuthenticationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Owin.OwinMiddleware | next | The next middleware in the OWIN pipeline to invoke |
Owin.IAppBuilder | app | The OWIN application |
Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions | options | Configuration options for the middleware |
Methods
CreateHandler()
Provides the Microsoft.Owin.Security.Infrastructure.AuthenticationHandler object for processing authentication-related requests.
Declaration
protected override AuthenticationHandler<MicrosoftAccountAuthenticationOptions> CreateHandler()
Returns
Type | Description |
---|---|
Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions> | An Microsoft.Owin.Security.Infrastructure.AuthenticationHandler configured with the Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions supplied to the constructor. |