/MyVMPortal/App_Start/AuthConfig.cs
C# | 31 lines | 14 code | 5 blank | 12 comment | 0 complexity | d8cade94e379ff7e7885ca780a1a6617 MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Microsoft.AspNet.Membership.OpenAuth;
- namespace MyVMPortal
- {
- internal static class AuthConfig
- {
- public static void RegisterOpenAuth()
- {
- // See http://go.microsoft.com/fwlink/?LinkId=252803 for details on setting up this ASP.NET
- // application to support logging in via external services.
- //OpenAuth.AuthenticationClients.AddTwitter(
- // consumerKey: "your Twitter consumer key",
- // consumerSecret: "your Twitter consumer secret");
- //OpenAuth.AuthenticationClients.AddFacebook(
- // appId: "your Facebook app id",
- // appSecret: "your Facebook app secret");
- //OpenAuth.AuthenticationClients.AddMicrosoft(
- // clientId: "your Microsoft account client id",
- // clientSecret: "your Microsoft account client secret");
- //OpenAuth.AuthenticationClients.AddGoogle();
- }
- }
- }