public function getData()
    {
        // The two signatures to compare.
        $signature = $this->getSignature();
        $VPSSignature = strtolower($this->httpRequest->request->get('VPSSignature'));

        if ($VPSSignature !== $signature) {
            throw new InvalidResponseException;
        }

        return $this->httpRequest->request->all();
    }
public function getData()
    {
        // The two signatures to compare.
        $signature = $this->getSignature();
        $VPSSignature = strtolower($this->httpRequest->request->get('VPSSignature'));

        if ($VPSSignature !== $signature) {
            throw new InvalidResponseException;
        }

        return $this->httpRequest->request->all();
    }
public function getData ( ) { // The two signatures to compare. $ signature = $ this -> getSignature ( ) ; $ VPSSignature = strtolower ( $ this -> httpRequest -> request -> get ( 'VPSSignature' ) ) ; if ( $ VPSSignature !== $ signature ) { throw new InvalidResponseException ; } return $ this -> httpRequest -> request -> all ( ) ; }
Get the POSTed data, checking that the signature is valid.
Get the POSTed data checking that the signature is valid .