mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Renamed method to be more obvious
This commit is contained in:
parent
79b1e39798
commit
f78caa24bb
@ -140,7 +140,7 @@ class ResourceServer extends AbstractServer
|
||||
* @param $headersOnly Limit Access Token to Authorization header only
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid($headersOnly = true, $accessToken = null)
|
||||
public function isValidRequest($headersOnly = true, $accessToken = null)
|
||||
{
|
||||
try {
|
||||
$accessTokenString = ($accessToken !== null) ? $accessToken : $this->determineAccessToken($headersOnly, $accessToken);
|
||||
|
Loading…
Reference in New Issue
Block a user