PHP Class Horde_Auth_Auto, horde

This is only for use in testing or behind a firewall; it should NOT be used on a public, production machine.
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Auth_Base
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_capabilities array An array of capabilities, so that the driver can report which operations it supports and which it doesn't.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
transparent ( ) : boolean Automatic authentication.

Protected Methods

Method Description
_authenticate ( string $userId, array $credentials ) Not implemented.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Optional parameters:
'password' - (string) The password to record in the user's credentials.
             DEFAULT: none
'requestuser' - (boolean) If true, allow username to be passed by GET,
                POST or cookie.
                DEFAULT: No
'username' - (string) The username to authenticate everyone as.
             DEFAULT: 'horde_user'

_authenticate() protected method

Not implemented.
protected _authenticate ( string $userId, array $credentials )
$userId string The userID to check.
$credentials array An array of login credentials.

transparent() public method

Automatic authentication.
public transparent ( ) : boolean
return boolean Whether or not the client is allowed.

Property Details

$_capabilities protected_oe property

An array of capabilities, so that the driver can report which operations it supports and which it doesn't.
protected array $_capabilities
return array