mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Comment improvement
This commit is contained in:
parent
d7dd07cf18
commit
a83c56f570
@ -48,7 +48,7 @@ class BearerTokenValidator implements AuthorizationValidatorInterface
|
|||||||
throw OAuthServerException::accessDenied('Access token could not be verified');
|
throw OAuthServerException::accessDenied('Access token could not be verified');
|
||||||
}
|
}
|
||||||
|
|
||||||
// validate
|
// Ensure access token hasn't expired
|
||||||
$data = new ValidationData();
|
$data = new ValidationData();
|
||||||
$data->setCurrentTime(time());
|
$data->setCurrentTime(time());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user