mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
Changed the order and added missing throws
This commit is contained in:
parent
166362d3cd
commit
dd795a82f4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user