Files
sihnon-php-lib/source/lib/SihnonFramework/Auth/IPlugin.class.php
Ben Roberts d92cc576d7 Initial commit of Session/Authentication code
Plugin architecture with single Database-backed implementation.
2011-12-19 12:13:14 +00:00

23 lines
566 B
PHP

<?php
interface SihnonFramework_Auth_IPlugin extends Sihnon_IPlugin {
/**
* Creates a new instance of the Auth Plugin
*
* @param SihnonFramework_Config $config Config option to retrieve plugin configuration
* @return SihnonFramework_Auth_IPlugin
*/
public static function create(SihnonFramework_Config $config);
public function userExists($username);
public function listUsers();
public function authenticate($username, $password);
public function authenticateSession($username);
}
?>