MicrosoftAccountAuthenticationExtensions::UseMicrosoftAccountAuthentication Method (IAppBuilder, String, String)
Authenticate users using Microsoft Account
Assembly: Microsoft.Owin.Security.MicrosoftAccount (in Microsoft.Owin.Security.MicrosoftAccount.dll)
[ExtensionAttribute] public: static IAppBuilder^ UseMicrosoftAccountAuthentication( IAppBuilder^ app, String^ clientId, String^ clientSecret )
Parameters
- app
- Type: IAppBuilder
The IAppBuilder passed to the configuration method
- clientId
- Type: System::String
The application client ID assigned by the Microsoft authentication service
- clientSecret
- Type: System::String
The application client secret assigned by the Microsoft authentication service
Return Value
Type: IAppBuilderUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).aspx.
Show: