PHP Класс Horde_Auth_Smbclient, horde

Автор: Jon Parise ([email protected])
Автор: Marcus I. Ryan ([email protected])
Наследование: extends Horde_Auth_Base
Показать файл Открыть проект

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

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

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

Метод Описание
_authenticate ( string $userId, array $credentials ) Find out if the given set of login credentials are valid.

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

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

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
'domain' - (string) [REQUIRED] The domain name to authenticate with.
'group' - Group name that the user must be a member of.
          DEFAULT: none
'hostspec' - (string) [REQUIRED] IP, DNS Name, or NetBios name of the
             SMB server to authenticate with.
'smbclient_path' - (string) [REQUIRED] The location of the smbclient
                   utility.

_authenticate() защищенный Метод

Find out if the given 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.