PHP Класс 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.
Автор: Chuck Hagenbuch ([email protected])
Наследование: extends Horde_Auth_Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_capabilities array An array of capabilities, so that the driver can report which operations it supports and which it doesn't.

Открытые методы

Метод Описание
__construct ( array $params = [] ) Constructor.
transparent ( ) : boolean Automatic authentication.

Защищенные методы

Метод Описание
_authenticate ( string $userId, array $credentials ) Not implemented.

Описание методов

__construct() публичный Метод

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() защищенный Метод

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

transparent() публичный Метод

Automatic authentication.
public transparent ( ) : boolean
Результат boolean Whether or not the client is allowed.

Описание свойств

$_capabilities защищенное свойство

An array of capabilities, so that the driver can report which operations it supports and which it doesn't.
protected array $_capabilities
Результат array