PHP Class Horde_Auth_Pam, horde

PAM (Pluggable Authentication Modules) is a flexible mechanism for authenticating users. It has become the standard authentication system for Linux, Solaris and FreeBSD. This driver relies on the PECL PAM package: http://pecl.php.net/package/PAM
Author: Jon Parise ([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:
'service' - (string) The name of the PAM service to use when
            authenticating.
            DEFAULT: php

_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.