cvs: pear /Auth Container.php
| From: | Martin Jansen | Date: | Thu, 08 Nov 2001 19:00:22 +0000 |
| Subject: | cvs: pear /Auth Container.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1283@lists.php.net to get a copy of this message | ||
mj Thu Nov 8 14:00:22 2001 EDT
Modified files:
/pear/Auth Container.php
Log:
* Some preparations for a feature, that will be available during the
next days.
Index: pear/Auth/Container.php
diff -u pear/Auth/Container.php:1.4 pear/Auth/Container.php:1.5
--- pear/Auth/Container.php:1.4 Sun Nov 4 12:04:05 2001
+++ pear/Auth/Container.php Thu Nov 8 14:00:22 2001
@@ -16,9 +16,11 @@
// | Authors: Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Container.php,v 1.4 2001/11/04 17:04:05 mj Exp $
+// $Id: Container.php,v 1.5 2001/11/08 19:00:22 mj Exp $
//
+define("AUTH_METHOD_NOT_SUPPORTED", -4);
+
/**
* Storage class for fetching login data
*
@@ -54,7 +56,48 @@
function fetchData()
{
}
-
// }}}
+ // {{{ listUsers()
+
+ /**
+ * List all users that are available from the storage container
+ */
+ function listUsers()
+ {
+ return AUTH_METHOD_NOT_SUPPORTED;
+ }
+
+ // }}}
+ // {{{ addUser()
+
+ /**
+ * Add a new user to the storage container
+ *
+ * @param string Username
+ * @param string Password
+ * @param array Additional information
+ *
+ * @return boolean
+ */
+ function addUser($username, $password, $additional)
+ {
+ return AUTH_METHOD_NOT_SUPPORTED;
+ }
+
+ // }}}
+ // {{{ removeUser()
+
+ /**
+ * Remove user from the storage container
+ *
+ * @param string Username
+ */
+ function removeUser($username)
+ {
+ return AUTH_METHOD_NOT_SUPPORTED;
+ }
+
+ // }}}
+
}
?>