Class MicrosoftAccountAuthentication2Extensions
Extensions method to add MicrosoftAccountAuthenticationMiddleware2
Inheritance
System.Object
MicrosoftAccountAuthentication2Extensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Web.Security.Identity
Assembly: ImageVault.Web.dll
Syntax
public static class MicrosoftAccountAuthentication2Extensions
Remarks
Originated from Owin.MicrosoftAccountAuthenticationExtensions
Methods
UseMicrosoftAccountAuthentication2(IAppBuilder, MicrosoftAccountAuthenticationOptions)
Authenticate users using Microsoft Account
Declaration
public static IAppBuilder UseMicrosoftAccountAuthentication2(this IAppBuilder app, MicrosoftAccountAuthenticationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Owin.IAppBuilder | app | The Owin.IAppBuilder passed to the configuration method |
Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions | options | Middleware configuration options |
Returns
Type | Description |
---|---|
Owin.IAppBuilder | The updated Owin.IAppBuilder |