mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Changed the order and added missing throws
This commit is contained in:
		@@ -98,9 +98,10 @@ class ResourceServer extends AbstractServer
 | 
			
		||||
     * @param bool                                                $headerOnly Limit Access Token to Authorization header
 | 
			
		||||
     * @param \League\OAuth2\Server\Entity\AccessTokenEntity|null $accessToken Access Token
 | 
			
		||||
     *
 | 
			
		||||
     * @return bool
 | 
			
		||||
     *
 | 
			
		||||
     * @throws \League\OAuth2\Server\Exception\AccessDeniedException
 | 
			
		||||
     * @throws \League\OAuth2\Server\Exception\InvalidRequestException
 | 
			
		||||
     *
 | 
			
		||||
     * @return bool
 | 
			
		||||
     */
 | 
			
		||||
    public function isValidRequest($headerOnly = true, $accessToken = null)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user