PHP Class Horde_Auth_Peclsasl, horde

SASL is the Simple Authentication and Security Layer (as defined by RFC 2222). It provides a system for adding plugable authenticating support to connection-based protocols. This driver relies on the PECL sasl package: http://pecl.php.net/package/sasl
Author: Jon Parise ([email protected])
Inheritance: extends Horde_Auth_Base
显示文件 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:
'app' - (string) The name of the authenticating application.
        DEFAULT: horde
'service' - (string) The name of the SASL 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.