public SiteLockModule() { var config = new SiteLockConfiguration(); var authChecker = new AuthenticationChecker(); _requestProcessor = new RequestProcessor(config, authChecker); }
public static void LoadModule() { var config = new SiteLockConfiguration(); if (config.IsEnabled()) { HttpApplication.RegisterModule(typeof(Cogworks.SiteLock.Web.HttpModules.SiteLockModule)); } }