Rev 187 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*** PEAR_Command_Auth (login, logout commands)** PHP versions 4 and 5** @category pear* @package PEAR* @author Stig Bakken <ssb@php.net>* @author Greg Beaver <cellog@php.net>* @copyright 1997-2009 The Authors* @license http://opensource.org/licenses/bsd-license.php New BSD License* @link http://pear.php.net/package/PEAR* @since File available since Release 0.1* @deprecated since 1.8.0alpha1*//*** base class*/require_once 'PEAR/Command/Channels.php';/*** PEAR commands for login/logout** @category pear* @package PEAR* @author Stig Bakken <ssb@php.net>* @author Greg Beaver <cellog@php.net>* @copyright 1997-2009 The Authors* @license http://opensource.org/licenses/bsd-license.php New BSD License* @version Release: 1.10.1* @link http://pear.php.net/package/PEAR* @since Class available since Release 0.1* @deprecated since 1.8.0alpha1*/class PEAR_Command_Auth extends PEAR_Command_Channels{var $commands = array('login' => array('summary' => 'Connects and authenticates to remote server [Deprecated in favor of channel-login]','shortcut' => 'li','function' => 'doLogin','options' => array(),'doc' => '<channel name>WARNING: This function is deprecated in favor of using channel-loginLog in to a remote channel server. If <channel name> is not supplied,the default channel is used. To use remote functions in the installerthat require any kind of privileges, you need to log in first. Theusername and password you enter here will be stored in your per-userPEAR configuration (~/.pearrc on Unix-like systems). After loggingin, your username and password will be sent along in subsequentoperations on the remote server.',),'logout' => array('summary' => 'Logs out from the remote server [Deprecated in favor of channel-logout]','shortcut' => 'lo','function' => 'doLogout','options' => array(),'doc' => 'WARNING: This function is deprecated in favor of using channel-logoutLogs out from the remote server. This command does not actuallyconnect to the remote server, it only deletes the stored username andpassword from your user configuration.',));/*** PEAR_Command_Auth constructor.** @access public*/function __construct(&$ui, &$config){parent::__construct($ui, $config);}}