mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-27 15:30:24 +05:30
Merge pull request #68 from jasongrimes/public-determineAccessToken
Make determineAccessToken() public
This commit is contained in:
commit
cc0ab4905a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user