AuthConfig.cs 962 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Microsoft.Web.WebPages.OAuth;
  6. using EmisTerminal.Models;
  7. namespace EmisTerminal
  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. }