Initial commit of Session/Authentication code
Plugin architecture with single Database-backed implementation.
This commit is contained in:
13
source/lib/SihnonFramework/Auth/IUpdateable.class.php
Normal file
13
source/lib/SihnonFramework/Auth/IUpdateable.class.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
interface SihnonFramework_Auth_IUpdateable {
|
||||
|
||||
public function addUser($username, $password);
|
||||
|
||||
public function removeUser(Sihnon_Auth_IUser $user);
|
||||
|
||||
public function changePassword(Sihnon_Auth_IUser $user, $new_password);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user