The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FilterConfig.cs 390B

12345678910111213141516
  1. using System.Web;
  2. using System.Web.Mvc;
  3. using Teknik.Filters;
  4. namespace Teknik
  5. {
  6. public class FilterConfig
  7. {
  8. public static void RegisterGlobalFilters(GlobalFilterCollection filters)
  9. {
  10. //filters.Add(new HandleErrorAttribute());
  11. filters.Add(new AuthorizeAttribute());
  12. filters.Add(new RequireHttpsAttribute());
  13. }
  14. }
  15. }