PHP 클래스 LdapTools\Connection\BindUserStrategy

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$bindFormat The default bind format.
$config LdapTools\DomainConfiguration
$params The parameters to be replaced in the username string.

공개 메소드들

메소드 설명
__construct ( DomainConfiguration $config )
getInstance ( DomainConfiguration $config ) : ADBindUserStrategy | BindUserStrategy Given the LDAP type, determine the BindStrategy to use.
getUsername ( string $username ) : string Given the connection resource and the other required parameters, attempt the bind and return the result.

메소드 상세

__construct() 공개 메소드

public __construct ( DomainConfiguration $config )
$config LdapTools\DomainConfiguration

getInstance() 공개 정적인 메소드

Given the LDAP type, determine the BindStrategy to use.
public static getInstance ( DomainConfiguration $config ) : ADBindUserStrategy | BindUserStrategy
$config LdapTools\DomainConfiguration
리턴 LdapTools\Connection\AD\ADBindUserStrategy | BindUserStrategy

getUsername() 공개 메소드

Given the connection resource and the other required parameters, attempt the bind and return the result.
public getUsername ( string $username ) : string
$username string
리턴 string

프로퍼티 상세

$bindFormat 보호되어 있는 프로퍼티

The default bind format.
protected $bindFormat

$config 보호되어 있는 프로퍼티

protected DomainConfiguration,LdapTools $config
리턴 LdapTools\DomainConfiguration

$params 보호되어 있는 프로퍼티

The parameters to be replaced in the username string.
protected $params