public function verifyRequest(ServerRequestInterface $request)
    {
        $body   = $request->getParsedBody();
        $server = $request->getServerParams();

        return $this->verify(
            $body[self::CAPTCHA_NAME] ?? '',
            $server['REMOTE_ADDR'] ?? null
        );
    }
public function verifyRequest(ServerRequestInterface $request)
    {
        $body   = $request->getParsedBody();
        $server = $request->getServerParams();

        return $this->verify(
            $body[self::CAPTCHA_NAME] ?? '',
            $server['REMOTE_ADDR'] ?? null
        );
    }
public function verifyRequest ( ServerRequestInterface $ request ) { $ body = $ request -> getParsedBody ( ) ; $ server = $ request -> getServerParams ( ) ; return $ this -> verify ( $ body [ self :: CAPTCHA_NAME ] ?? '' , $ server [ 'REMOTE_ADDR' ] ?? null ) ; }
Calls the reCAPTCHA siteverify API to verify whether the user passes CAPTCHA
test using a PSR-7 ServerRequest object.

@param  \Psr\Http\Message\ServerRequestInterface  $request

@return \Arcanedev\NoCaptcha\Utilities\AbstractResponse
Calls the reCAPTCHA siteverify API to verify whether the user passes CAPTCHA test using a PSR - 7 ServerRequest object .