bergie / midcom

MVC framework for PHP and the Midgard content repository

This URL has Read+Write access

bergie (author)
Wed Jun 24 21:57:52 -0700 2009
commit  afd3f46b73d85a8d425b845a593a65afd8afb5e3
tree    681bcb7d31b4da4eaecb1c993c3ca2e01fde0dfd
parent  320e0614676db7a65372a5d321d02c570fde2668
midcom / midcom_core / services / authentication.php
100644 26 lines (21 sloc) 0.604 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
* @package midcom_core
* @author The Midgard Project, http://www.midgard-project.org
* @copyright The Midgard Project, http://www.midgard-project.org
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
*/
 
/**
* Authentication interface for MidCOM 3
*
* @package midcom_core
*/
interface midcom_core_services_authentication
{
    public function get_person();
    
    public function is_user();
    
    public function login($username, $password);
    
    public function logout();
    
    public function handle_exception(Exception $exception);
}
?>