Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope Error - Undefined method getParameters() #21

Open
sttarneyiat opened this issue Jul 5, 2013 · 0 comments
Open

Scope Error - Undefined method getParameters() #21

sttarneyiat opened this issue Jul 5, 2013 · 0 comments

Comments

@sttarneyiat
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant