mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-23 16:03:23 +05:30
Updates to exceptions
This commit is contained in:
1 parent
6981ced972
commit
9f1f0cc3bc
8 files changed
+24
-56
No files matched your search
@@ -210,7 +210,7 @@ class ResourceServer extends AbstractServer
|
||||
}
|
||||
|
||||
if (empty($accessToken)) {
|
||||
throw new Exception\InvalidAccessTokenException('Access token is missing');
|
||||
throw new Exception\InvalidRequestException('access token');
|
||||
}
|
||||
|
||||
return $accessToken;
|
||||
|
||||
Reference in new issue
Block a user