Bearsampp
2026.9.23
Toggle main menu visibility
Loading...
Searching...
No Matches
Auth.php
Go to the documentation of this file.
1
<?php
17
21
require_once
'PEAR/Command/Channels.php'
;
22
37
class
PEAR_Command_Auth
extends
PEAR_Command_Channels
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>
46
WARNING: This function is deprecated in favor of using channel-login
47
48
Log in to a remote channel server. If <channel name> is not supplied,
49
the default channel is used. To use remote functions in the installer
50
that require any kind of privileges, you need to log in first. The
51
username and password you enter here will be stored in your per-user
52
PEAR configuration (~/.pearrc on Unix-like systems). After logging
53
in, your username and password will be sent along in subsequent
54
operations 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'
=>
'
62
WARNING: This function is deprecated in favor of using channel-logout
63
64
Logs out from the remote server. This command does not actually
65
connect to the remote server, it only deletes the stored username and
66
password from your user configuration.'
,
67
)
68
69
);
70
76
function
__construct
(&
$ui
, &
$config
)
77
{
78
parent::__construct(
$ui
,
$config
);
79
}
80
}
PEAR_Command_Auth
Definition
Auth.php:38
PEAR_Command_Auth\__construct
__construct(&$ui, &$config)
Definition
Auth.php:76
PEAR_Command_Auth\$commands
$commands
Definition
Auth.php:39
PEAR_Command_Channels
Definition
Channels.php:39
PEAR_Command_Common\$config
$config
Definition
Common.php:43
PEAR_Command_Common\$ui
$ui
Definition
Common.php:54
sandbox
core
libs
php
pear
pear
PEAR
Command
Auth.php
Generated by
1.17.0