return $data;
}
+ // custom data field manipulation bits
+ function setCustomData($username, $data) {
+ $data = $this->internalGetData($username);
+ $data["user"] = $key;
+ $this->internalPutData($username, $data);
+ }
+
+ function getCustomData($username) {
+ $data = $this->internalGetData($username);
+ $custom = $data["user"];
+ return $custom;
+
+ }
+
// an internal funciton to get data from the overloaded functions
// and turn them into php arrays.
function internalGetData($username) {
$this->internalPutData($username, "");
}
+
+
// user has input their user name and some code, authenticate
// it
function authenticateUser($username, $code) {