public function isAuthenticated()
    {
        $authenticated = false;

        if (is_null($this->parameters)) {
            return $authenticated;
        }

        $calculatedHash = md5(
            $this->parameters['item'] . '|' .
            $this->parameters['page'] . '|' .
            $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
        );

        if ($this->parameters['hash'] === $calculatedHash) {
            $authenticated = true;
        }

        return $authenticated;
    }
public function isAuthenticated()
    {
        $authenticated = false;

        if (is_null($this->parameters)) {
            return $authenticated;
        }

        $calculatedHash = md5(
            $this->parameters['item'] . '|' .
            $this->parameters['page'] . '|' .
            $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
        );

        if ($this->parameters['hash'] === $calculatedHash) {
            $authenticated = true;
        }

        return $authenticated;
    }
public function isAuthenticated ( ) { $ authenticated = false ; if ( is_null ( $ this -> parameters ) ) { return $ authenticated ; } $ calculatedHash = md5 ( $ this -> parameters [ 'item' ] . '|' . $ this -> parameters [ 'page' ] . '|' . $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 'encryptionKey' ] ) ; if ( $ this -> parameters [ 'hash' ] === $ calculatedHash ) { $ authenticated = true ; } return $ authenticated ; }
Checks whether this is a legitimate request coming from the Index Queue
page indexer worker task.

@return bool TRUE if it's a legitimate request, FALSE otherwise.
Checks whether this is a legitimate request coming from the Index Queue page indexer worker task .