PHP Class Horde_Auth_Login, horde

This Auth driver is useful if you have a shadow password system where the Horde_Auth_Passwd driver doesn't work. Copyright 2004-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, http://www.horde.org/licenses/lgpl21
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Auth_Base
显示文件 Open project: horde/horde

Protected Properties

Property Type Description
$_exclude array List of users that should be excluded from being listed/handled in any way by this driver.

Public Methods

Method Description
__construct ( array $params = [] ) Constructs a new Login authentication object.

Protected Methods

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

Method Details

__construct() public method

Constructs a new Login authentication object.
public __construct ( array $params = [] )
$params array Optional parameters:
'location' - (string) Location of the su binary.
             DEFAULT: /bin/su

_authenticate() protected method

Find out if a set of login credentials are valid.
protected _authenticate ( string $userId, array $credentials ) : boolean
$userId string The userId to check.
$credentials array An array of login credentials.
return boolean Whether or not the credentials are valid.

Property Details

$_exclude protected_oe property

List of users that should be excluded from being listed/handled in any way by this driver.
protected array $_exclude
return array