cvs: pear /Perm_LiveUser LoginManager.php

From: Date: Sun, 23 Mar 2003 13:38:26 +0000
Subject: cvs: pear /Perm_LiveUser LoginManager.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-9578@lists.php.net to get a copy of this message
arnaud Sun Mar 23 08:38:26 2003 EDT Modified files: /pear/Perm_LiveUser LoginManager.php Log: * phpdoc fixes Index: pear/Perm_LiveUser/LoginManager.php diff -u pear/Perm_LiveUser/LoginManager.php:1.69 pear/Perm_LiveUser/LoginManager.php:1.70 --- pear/Perm_LiveUser/LoginManager.php:1.69 Sun Mar 23 07:26:28 2003 +++ pear/Perm_LiveUser/LoginManager.php Sun Mar 23 08:38:26 2003 @@ -18,7 +18,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ - /** * Required files */ @@ -69,27 +68,30 @@ * Bjoern Schotte, Kristian Koehntopp, Antonio Guerra * * @author Markus Wolff <wolff@21st.de> - * @version $Id: LoginManager.php,v 1.69 2003/03/23 12:26:28 arnaud Exp $ + * @version $Id: LoginManager.php,v 1.70 2003/03/23 13:38:26 arnaud Exp $ * @package LiveUser */ class LoginManager extends PEAR { /** - * The auth container object + * The auth container object. + * * @access private - * @var object + * @var object */ var $_auth = null; /** * The permission container object + * * @access private - * @var object + * @var object */ var $_perm = null; /** * The session name to be used for all sessions + * * @var string */ var $sessionName = 'LiveUser'; @@ -97,6 +99,7 @@ /** * The name of the session variable in which the auth object * will be stored + * * @var string */ var $sessionVarName = 'ludata'; @@ -104,6 +107,7 @@ /** * The variable name for the user handle that comes from a * HTML login form + * * @var string */ var $handleParamName = 'handle'; @@ -111,6 +115,7 @@ /** * The variable name for the password that comes from a * HTML login form + * * @var string */ var $passwdParamName = 'passwd'; @@ -118,6 +123,7 @@ /** * The input channel in which to look for login information. * Can be POST for form input or GET for URL input. + * * @var string [GET|POST] */ var $loginInputType = 'POST'; @@ -126,6 +132,7 @@ * Name of the GET-Parameter that is being monitored for logging * out. If present, the auth object in the session will be * destroyed. + * * @var string */ var $logoutParamName = 'logout'; @@ -133,6 +140,7 @@ /** * The name for the cookie to store auth information in (used * for the "remember me" function). + * * @var string */ var $cookieName = 'loginData'; @@ -143,54 +151,61 @@ * information has to be re-entered for every session. * This is the recommended behaviour!!! * Set to 0 for not allowing cookies, set to 1 for allowing them. + * * @var integer [0|1] */ var $allowCookies = false; /** - * The name of the "remember me" checkbox on a HTML form. If this - * is provided via the channel defined in loginInputType (GET or POST), + * The name of the "remember me" checkbox on a HTML form. + * If this is provided via the channel defined in loginInputType (GET or POST), * and allowCookies has been set to 1, a cookie with user information * will be set so the user won't have to login using his username and * password again as long as the cookie exists. + * * @var string */ var $cookieParamName = 'useCookie'; /** - * The lifetime of the "remember me" cookie in days. Note that the - * cookie lifetime will be refreshed every time the user logs in. + * The lifetime of the "remember me" cookie in days. + * Note that the cookie lifetime will be refreshed + * every time the user logs in. * @var integer */ var $cookieLifetime = 30; /** * The domain for the "remember me" cookie. Example: "21st.de" + * * @var string */ var $cookieDomain = 'localhost'; /** * The path for the "remember me" cookie. Example: "/" + * * @var string */ var $cookiePath = '/'; /** * The URL to redirect to when the user logs out + * * @var string */ var $logoutRedirectURL = ''; /** * Determines whether or not to destroy the entire session on logout + * * @var boolean */ var $destroySessionOnLogout = true; /** - * Nested array with the auth containers that shall be queried for user - * information. Format: array(1 => array("option1" => "value", ....)) + * Nested array with the auth containers that shall be queried for user information. + * Format: array(1 => array("option1" => "value", ....)) * Typical options are: * - server: The adress of the server being queried (ie. "localhost") * - handle: The user name used to login for the server @@ -209,24 +224,29 @@ /** * Name of the session variable that is used to store information on the - * backend in which the auth data resides. This is needed to include the + * backend in which the auth data resides. + * This is needed to include the * correct backend class definition on demand. + * @var string */ var $authContainerTypeVar = 'authContainerType'; /** * Array of settings for the permission container to use for retrieving - * user rights. If set to false, no permission container will be used. + * user rights. + * If set to false, no permission container will be used. * If that is the case, all calls to checkRight() will return false. * The array element 'type' must be present for the LoginManager to be able * to include the correct class definition (example: "DB_Complex"). + * * @var mixed */ var $permContainer = false; /** * Has the auth session expired? + * * @var boolean * @see init(), processLogout() */ @@ -234,6 +254,7 @@ /** * Is the maximum idletime over? + * * @var boolean * @see init(), processLogout() */ @@ -241,6 +262,7 @@ /** * Posible Types of the config file and it's import function. + * * @var array */ var $configType = array('PHP' => '_readConfigFilePHP', @@ -248,29 +270,33 @@ /** * Function to be called when the user is not logged in. + * * @access private - * @var string + * @var string */ var $_loginFunction = ''; /** * Is the login function to be used or not + * * @access private - * @var boolean + * @var boolean */ var $_callLoginFunction = false; /** * The area on which we are working. + * * @access private - * @var mixed + * @var mixed */ var $_currentArea = false; /** * Whether an error raised + * * @access private - * @var boolean + * @var boolean */ var $_error = false;

« previous php.pear.cvs (#9578) next »