rename determineAccessTokenInHeader

This commit is contained in:
Julián Gutiérrez
2016-02-13 14:38:23 +01:00
parent 186853390a
commit dbcaaa1f35
6 changed files with 8 additions and 8 deletions

View File

@@ -157,9 +157,9 @@ class Server implements EmitterAwareInterface
*
* @throws \League\OAuth2\Server\Exception\OAuthServerException
*/
public function validateRequest(ServerRequestInterface $request)
public function validateAuthenticatedRequest(ServerRequestInterface $request)
{
return $this->getResponseType()->determineAccessTokenInHeader($request);
return $this->getResponseType()->validateAccessToken($request);
}
/**