category | Zend |
---|---|
package | Zend_Auth |
subpackage | Zend_Auth_Adapter |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(array $options= array()
, string $username= null
, string $password= null
)
array
An array of arrays of Zend_Ldap options
string
The username of the account being authenticated
string
The password of the account being authenticated
authenticate() : \Zend_Auth_Result
inherited_from | \Zend_Auth_Adapter_Interface::authenticate() |
---|
\Zend_Auth_Adapter_Exception |
---|
\Zend_Auth_Result
getAccountObject(array $returnAttribs= array()
, array $omitAttribs= array()
) : \stdClass | boolean
This resembles the feature \Zend_Auth_Adapter_DbTable::getResultRowObject(). Closes ZF-6813
array
array
\stdClass
boolean
getLdap() : \Zend_Ldap
\Zend_Ldap
The Zend_Ldap object used to authenticate the credentialsgetOptions() : array | null
array
null
getPassword() : string | null
string
null
getUsername() : string | null
string
null
setCredential(string $credential) : \Zend_Auth_Adapter_Ldap
Proxies to \setPassword()
Closes ZF-6813
string
\Zend_Auth_Adapter_Ldap
Provides a fluent interfacesetIdentity(string $identity) : \Zend_Auth_Adapter_Ldap
Proxies to \setUsername()
Closes ZF-6813
string
\Zend_Auth_Adapter_Ldap
Provides a fluent interfacesetLdap(\Zend_Ldap $ldap) : \Zend_Auth_Adapter_Ldap
\Zend_Ldap
An existing Ldap object
\Zend_Auth_Adapter_Ldap
Provides a fluent interfacesetOptions(array $options) : \Zend_Auth_Adapter_Ldap
array
The array of arrays of Zend_Ldap options
\Zend_Auth_Adapter_Ldap
Provides a fluent interfacesetPassword(string $password) : \Zend_Auth_Adapter_Ldap
string
The password of the account being authenticated
\Zend_Auth_Adapter_Ldap
Provides a fluent interfacesetUsername(string $username) : \Zend_Auth_Adapter_Ldap
string
The username for binding
\Zend_Auth_Adapter_Ldap
Provides a fluent interface_checkGroupMembership(\Zend_Ldap $ldap, string $canonicalName, string $dn, array $adapterOptions) : string | true
\Zend_Ldap
string
string
array
string
true
_getAuthorityName() : string
string
_prepareOptions(\Zend_Ldap $ldap, array $options) : array
\Zend_Ldap
array
array
of auth-adapter specific options$_authenticatedDn : string
null
$_ldap : \Zend_Ldap
null
$_password : string
null
$_username : string
null