Bearsampp 2026.9.23
Loading...
Searching...
No Matches
Auth.php
Go to the documentation of this file.
1<?php
17
21require_once 'PEAR/Command/Channels.php';
22
38{
39 var $commands = array(
40 'login' => array(
41 'summary' => 'Connects and authenticates to remote server [Deprecated in favor of channel-login]',
42 'shortcut' => 'li',
43 'function' => 'doLogin',
44 'options' => array(),
45 'doc' => '<channel name>
46WARNING: This function is deprecated in favor of using channel-login
47
48Log in to a remote channel server. If <channel name> is not supplied,
49the default channel is used. To use remote functions in the installer
50that require any kind of privileges, you need to log in first. The
51username and password you enter here will be stored in your per-user
52PEAR configuration (~/.pearrc on Unix-like systems). After logging
53in, your username and password will be sent along in subsequent
54operations on the remote server.',
55 ),
56 'logout' => array(
57 'summary' => 'Logs out from the remote server [Deprecated in favor of channel-logout]',
58 'shortcut' => 'lo',
59 'function' => 'doLogout',
60 'options' => array(),
61 'doc' => '
62WARNING: This function is deprecated in favor of using channel-logout
63
64Logs out from the remote server. This command does not actually
65connect to the remote server, it only deletes the stored username and
66password from your user configuration.',
67 )
68
69 );
70
76 function __construct(&$ui, &$config)
77 {
78 parent::__construct($ui, $config);
79 }
80}
__construct(&$ui, &$config)
Definition Auth.php:76