First version of authentication : storage in database and abstract class

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1471 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-06-18 20:21:28 +00:00
parent 21964e47b0
commit 647e1603bd
2 changed files with 576 additions and 0 deletions

View File

@@ -10,6 +10,11 @@ class authorization
/** Separator between differents modules/objects */
private $separator = "/";
/** The user ID of the authenticated user */
public $authiduser = ""; // user id
/** The groups ID of the authenticated user */
public $authgroups = array (); // List of user's groups id
/** Establish a connexion to the authorization database */
public function connect ()
{