src/Classes/AdldapUsers.php
public function authenticate($username, $password, $preventRebind = false)
    {
        return $this->adldap->authenticate($username, $password, $preventRebind);
    }
public function authenticate($username, $password, $preventRebind = false)
    {
        return $this->adldap->authenticate($username, $password, $preventRebind);
    }
public function authenticate ( $ username , $ password , $ preventRebind = false ) { return $ this -> adldap -> authenticate ( $ username , $ password , $ preventRebind ) ; }
Validate a user's login credentials.

@param string $username      The users AD username
@param string $password      The users AD password
@param bool   $preventRebind

@return bool
Validate a user s login credentials .