diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index c9cf177e..b7fcda88 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -392,7 +392,7 @@ abstract class AbstractGrant implements GrantTypeInterface /** * {@inheritdoc} */ - public function canRespondToRequest(ServerRequestInterface $request) + public function canRespondToAccessTokenRequest(ServerRequestInterface $request) { $requestParameters = (array) $request->getParsedBody(); diff --git a/src/Grant/GrantTypeInterface.php b/src/Grant/GrantTypeInterface.php index 0e4ce62d..dd35c6ce 100644 --- a/src/Grant/GrantTypeInterface.php +++ b/src/Grant/GrantTypeInterface.php @@ -64,7 +64,7 @@ interface GrantTypeInterface extends EmitterAwareInterface * * @return bool */ - public function canRespondToRequest(ServerRequestInterface $request); + public function canRespondToAccessTokenRequest(ServerRequestInterface $request); /** * Set the client repository.