PageRenderTime 59ms CodeModel.GetById 35ms RepoModel.GetById 0ms app.codeStats 0ms

/MyVMPortal/App_Start/AuthConfig.cs

https://github.com/mwasham/wasvcmgmntapi
C# | 31 lines | 14 code | 5 blank | 12 comment | 0 complexity | d8cade94e379ff7e7885ca780a1a6617 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Microsoft.AspNet.Membership.OpenAuth;
  6. namespace MyVMPortal
  7. {
  8. internal static class AuthConfig
  9. {
  10. public static void RegisterOpenAuth()
  11. {
  12. // See http://go.microsoft.com/fwlink/?LinkId=252803 for details on setting up this ASP.NET
  13. // application to support logging in via external services.
  14. //OpenAuth.AuthenticationClients.AddTwitter(
  15. // consumerKey: "your Twitter consumer key",
  16. // consumerSecret: "your Twitter consumer secret");
  17. //OpenAuth.AuthenticationClients.AddFacebook(
  18. // appId: "your Facebook app id",
  19. // appSecret: "your Facebook app secret");
  20. //OpenAuth.AuthenticationClients.AddMicrosoft(
  21. // clientId: "your Microsoft account client id",
  22. // clientSecret: "your Microsoft account client secret");
  23. //OpenAuth.AuthenticationClients.AddGoogle();
  24. }
  25. }
  26. }