From 76ea6b5a6c8a4e83b7b42ac04ec25d04e17c1c9f Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 9 Apr 2016 16:22:00 +0100 Subject: [PATCH] Renamed grant type `canRespondToRequest` to `canRespondToAccessTokenRequest` --- src/Grant/AbstractGrant.php | 2 +- src/Grant/GrantTypeInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.