From f78caa24bbd9740021f626f1a268e9dfaaffd4ad Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 1 May 2014 14:46:43 +0100 Subject: [PATCH] Renamed method to be more obvious --- src/ResourceServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceServer.php b/src/ResourceServer.php index 780da8d6..c78c795c 100644 --- a/src/ResourceServer.php +++ b/src/ResourceServer.php @@ -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);