PHP Class Horde_Auth_Ftp, horde

Author: Chuck Hagenbuch ([email protected])
Author: Max Kalika ([email protected])
Inheritance: extends Horde_Auth_Base
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.

Protected Methods

Method Description
_authenticate ( string $userId, array $credentials ) Find out if a set of login credentials are valid.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Optional parameters:
'hostspec' - (string) The hostname or IP address of the FTP server.
             DEFAULT: 'localhost'
'port' - (integer) The server port to connect to.
         DEFAULT: 21

_authenticate() protected method

Find out if a set of login credentials are valid.
protected _authenticate ( string $userId, array $credentials )
$userId string The userId to check.
$credentials array An array of login credentials. For FTP, this must contain a password entry.