Merge pull request #68 from jasongrimes/public-determineAccessToken

Make determineAccessToken() public
This commit is contained in:
Alex Bilbie 2013-06-06 06:52:12 -07:00
commit cc0ab4905a

View File

@ -242,7 +242,7 @@ class Resource
* @throws Exception\MissingAccessTokenException Thrown if there is no access token presented
* @return string
*/
protected function determineAccessToken($headersOnly = false)
public function determineAccessToken($headersOnly = false)
{
if ($header = $this->getRequest()->header('Authorization')) {
// Check for special case, because cURL sometimes does an