<?php
-namespace Shaarli;
+namespace Shaarli\Security;
use Shaarli\Config\ConfigManager;
<?php
-namespace Shaarli;
+namespace Shaarli\Security;
use Shaarli\Config\ConfigManager;
"Shaarli\\Api\\Controllers\\": "application/api/controllers",
"Shaarli\\Api\\Exceptions\\": "application/api/exceptions",
"Shaarli\\Config\\": "application/config/",
- "Shaarli\\Config\\Exception\\": "application/config/exception"
+ "Shaarli\\Config\\Exception\\": "application/config/exception",
+ "Shaarli\\Security\\": "application/security"
}
}
}
use \Shaarli\Languages;
use \Shaarli\ThemeUtils;
use \Shaarli\Config\ConfigManager;
-use \Shaarli\LoginManager;
-use \Shaarli\SessionManager;
+use \Shaarli\Security\LoginManager;
+use \Shaarli\Security\SessionManager;
// Ensure the PHP version is supported
try {
<?php
-namespace Shaarli;
+namespace Shaarli\Security;
require_once 'tests/utils/FakeConfigManager.php';
use \PHPUnit\Framework\TestCase;
require_once 'tests/utils/ReferenceSessionIdHashes.php';
ReferenceSessionIdHashes::genAllHashes();
-use \Shaarli\SessionManager;
+use \Shaarli\Security\SessionManager;
use \PHPUnit\Framework\TestCase;