Interface AdapterInterface
Namespace: Authentication\Identifier\Ldap
Method Summary
-
bind() public
Bind to LDAP directory
-
connect() public
Connect to an LDAP server
-
getDiagnosticMessage() public
Get the diagnostic message
-
unbind() public
Unbind from LDAP directory
Method Detail
bind() ¶ public
bind(string $bind, string $password): bool
Bind to LDAP directory
Parameters
-
string
$bind Bind rdn
-
string
$password Bind password
Returns
bool
connect() ¶ public
connect(string $host, int $port, array $options): void
Connect to an LDAP server
Parameters
-
string
$host Hostname
-
int
$port Port
-
array
$options Additional options
Returns
void
getDiagnosticMessage() ¶ public
getDiagnosticMessage(): string|null
Get the diagnostic message
Returns
string|null