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

View File

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