PHP 클래스 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
저자: Jon Parise ([email protected])
상속: extends Horde_Auth_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.

보호된 메소드들

메소드 설명
_authenticate ( string $userId, array $credentials ) Find out if a set of login credentials are valid.

메소드 상세

__construct() 공개 메소드

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() 보호된 메소드

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.