oauth2-demo-php icon indicating copy to clipboard operation
oauth2-demo-php copied to clipboard

Scope Error - Undefined method getParameters()

Open sttarneyiat opened this issue 11 years ago • 0 comments

I am passing a required scope to the :

public function verifyResourceRequest(OAuth2_RequestInterface $request, OAuth2_ResponseInterface $response, $scope = null)

like so : $server->verifyResourceRequest($app['request'], $response, $scopeRequired)

And it is returning the following error :

Fatal error: Call to undefined method OAuth2\HttpFoundationBridge\Response::getParameter() in path/to/src/OAuth2/Controller/ResourceController.php on line 50

The getParameters() is not in the HTTPFoundationalBridge class and is called in the /OAuth2/Controller/ResourceController.php on line 50 and 51.

Please help.

sttarneyiat avatar Jul 05 '13 16:07 sttarneyiat