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