Exemple #1
0
        public SiteLockModule()
        {
            var config      = new SiteLockConfiguration();
            var authChecker = new AuthenticationChecker();

            _requestProcessor = new RequestProcessor(config, authChecker);
        }
Exemple #2
0
        public static void LoadModule()
        {
            var config = new SiteLockConfiguration();

            if (config.IsEnabled())
            {
                HttpApplication.RegisterModule(typeof(Cogworks.SiteLock.Web.HttpModules.SiteLockModule));
            }
        }