Renamed method to be more obvious

This commit is contained in:
Alex Bilbie 2014-05-01 14:46:43 +01:00
parent 79b1e39798
commit f78caa24bb

View File

@ -140,7 +140,7 @@ class ResourceServer extends AbstractServer
* @param $headersOnly Limit Access Token to Authorization header only
* @return bool
*/
public function isValid($headersOnly = true, $accessToken = null)
public function isValidRequest($headersOnly = true, $accessToken = null)
{
try {
$accessTokenString = ($accessToken !== null) ? $accessToken : $this->determineAccessToken($headersOnly, $accessToken);