PageRenderTime 78ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/SLSTOffCampusWeb/App_Start/AuthConfig.cs

https://bitbucket.org/jrobertshawe/off-campus-server
C# | 32 lines | 15 code | 5 blank | 12 comment | 0 complexity | 7695d348788aab420195de6ab8097cee MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Microsoft.Web.WebPages.OAuth;
  6. using SLSTOffCampusWeb.Models;
  7. namespace SLSTOffCampusWeb
  8. {
  9. public static class AuthConfig
  10. {
  11. public static void RegisterAuth()
  12. {
  13. // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
  14. // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166
  15. //OAuthWebSecurity.RegisterMicrosoftClient(
  16. // clientId: "",
  17. // clientSecret: "");
  18. //OAuthWebSecurity.RegisterTwitterClient(
  19. // consumerKey: "",
  20. // consumerSecret: "");
  21. //OAuthWebSecurity.RegisterFacebookClient(
  22. // appId: "",
  23. // appSecret: "");
  24. //OAuthWebSecurity.RegisterGoogleClient();
  25. }
  26. }
  27. }