__construct()
authenticate()
getAccountObject()
getCredential()
getIdentity()
getLdap()
getOptions()
getPassword()
getUsername()
setCredential()
setIdentity()
setLdap()
setOptions()
setPassword()
setUsername()
checkGroupMembership()
getAuthorityName()
prepareOptions()
optionsToString()
$authenticatedDn
$credential
$identity
$ldap
$options
__construct(array $options, string $identity, string $credential)
arrayAn array of arrays of Zend\Ldap\Ldap options
stringThe username of the account being authenticated
stringThe password of the account being authenticated
authenticate() : \Zend\Authentication\Result
getAccountObject(array $returnAttribs, array $omitAttribs) : \stdClass | bool
This resembles the feature {@see Zend\Authentication\Adapter\DbTable::getResultRowObject()}. Closes ZF-6813
array
array
\stdClassbool
getCredential() : mixed
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::getCredential() | 
|---|
mixedgetIdentity() : mixed
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::getIdentity() | 
|---|
mixedgetLdap() : \Zend\Ldap\Ldap
\Zend\Ldap\LdapThe Zend\Ldap\Ldap object used to authenticate the credentialsgetOptions() : array | null
arraynull
getPassword() : string | null
stringnull
getUsername() : string | null
stringnull
setCredential(mixed $credential) : \Zend\Authentication\Adapter\AbstractAdapter
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::setCredential() | 
|---|
mixed
setIdentity(mixed $identity) : \Zend\Authentication\Adapter\AbstractAdapter
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::setIdentity() | 
|---|
mixed
setLdap(\Zend\Ldap\Ldap $ldap) : \Zend\Authentication\Adapter\Ldap
setOptions(array $options) : \Zend\Authentication\Adapter\Ldap
arrayThe array of arrays of Zend\Ldap\Ldap options
\Zend\Authentication\Adapter\LdapProvides a fluent interfacesetPassword(string $password) : \Zend\Authentication\Adapter\Ldap
stringThe password of the account being authenticated
\Zend\Authentication\Adapter\LdapProvides a fluent interfacesetUsername(string $username) : \Zend\Authentication\Adapter\Ldap
stringThe username for binding
\Zend\Authentication\Adapter\LdapProvides a fluent interfacecheckGroupMembership(\Zend\Ldap\Ldap $ldap, string $canonicalName, string $dn, array $adapterOptions) : string | true
\Zend\Ldap\Ldap
string
string
array
stringtrue
getAuthorityName() : string
This is used for skipping redundant operations (e.g. authentications).
stringprepareOptions(\Zend\Ldap\Ldap $ldap, array $options) : array
$authenticatedDn : string
Used to retrieve the account entry on request.
$credential : mixed
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::$$credential | 
|---|
$identity : mixed
| inherited_from | \Zend\Authentication\Adapter\AbstractAdapter::$$identity | 
|---|