_authenticateValidateResult example

if ($this->getAmbiguityIdentity() === true) {
            $validIdentities = [];
            $zendAuthCredentialMatchColumn = $this->_zendDb->foldCase('zend_auth_credential_match');
            foreach ($resultIdentities as $identity) {
                if ((int) $identity[$zendAuthCredentialMatchColumn] === 1) {
                    $validIdentities[] = $identity;
                }
            }
            $resultIdentities = $validIdentities;
        }

        $authResult = $this->_authenticateValidateResult(array_shift($resultIdentities));

        return $authResult;
    }

    /** * _setDbAdapter() - set the database adapter to be used for quering * * @param Zend_Db_Adapter_Abstract * * @throws Zend_Auth_Adapter_Exception * * @return Zend_Auth_Adapter_DbTable */
Home | Imprint | This part of the site doesn't use cookies.