This commit is contained in:
2007-12-15 02:19:09 +00:00
commit 66ca16f8b0
24 changed files with 1199 additions and 0 deletions

38
code/auth_mysql.php Normal file
View File

@@ -0,0 +1,38 @@
<?php
/*
* MySQL Authentication Module
*
*/
class Authenticator_mysql implements IAuthenticator {
public function __construct() {
}
public function initialise() {
// Nothing required
}
public function uninitialise() {
// Nothing required
}
public function user_exists( $username ) {
return true;
}
public function authenticate( $username, $password ) {
return true;
}
public function username2fullname( $username ) {
throw new NotImplementedException();
}
public function fullname2username( $fullname ) {
throw new NotImplementedException();
}
};
?>