[ZF-10089] Zend_Log
[zend/radio.git] / library / Zend / OpenId / Provider / User.php
blobcf49aedfb211c91699dec5c3dc9c99d1d414df5b
1 <?php
3 /**
4 * Zend Framework
6 * LICENSE
8 * This source file is subject to the new BSD license that is bundled
9 * with this package in the file LICENSE.txt.
10 * It is also available through the world-wide-web at this URL:
11 * http://framework.zend.com/license/new-bsd
12 * If you did not receive a copy of the license and are unable to
13 * obtain it through the world-wide-web, please send an email
14 * to license@zend.com so we can send you a copy immediately.
16 * @category Zend
17 * @package Zend_OpenId
18 * @subpackage Zend_OpenId_Provider
19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
20 * @license http://framework.zend.com/license/new-bsd New BSD License
21 * @version $Id$
24 /**
25 * Abstract class to get/store information about logged in user in Web Browser
27 * @category Zend
28 * @package Zend_OpenId
29 * @subpackage Zend_OpenId_Provider
30 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
31 * @license http://framework.zend.com/license/new-bsd New BSD License
33 abstract class Zend_OpenId_Provider_User
36 /**
37 * Stores information about logged in user
39 * @param string $id user identity URL
40 * @return bool
42 abstract public function setLoggedInUser($id);
44 /**
45 * Returns identity URL of logged in user or false
47 * @return mixed
49 abstract public function getLoggedInUser();
51 /**
52 * Performs logout. Clears information about logged in user.
54 * @return bool
56 abstract public function delLoggedInUser();