From d0251553146256bfa03ee63d77fcc90582a1289d Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 8 Nov 2008 01:56:59 +0000 Subject: The start of an authentication module. This provides the installation and a basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module. --- modules/auth/libraries/Auth.php | 93 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 modules/auth/libraries/Auth.php (limited to 'modules/auth/libraries/Auth.php') diff --git a/modules/auth/libraries/Auth.php b/modules/auth/libraries/Auth.php new file mode 100644 index 00000000..9bc59ec7 --- /dev/null +++ b/modules/auth/libraries/Auth.php @@ -0,0 +1,93 @@ +_driver = $driver; + $this->_config = $config; + + Kohana::log('debug', 'Auth Library initialized'); + } + + /** + * @see Auth_Driver::set_user_password + */ + public function set_user_password($user_id, $password) { + return $this->_driver->set_user_password($user_id, $password); + } + + /** + * @see Auth_Driver::is_valid_password + */ + public function is_valid_password($user_id, $password) { + return $this->_driver->is_valid_password($user_id, $password); + } +} -- cgit v1.2.3