Renamed grant type canRespondToRequest to canRespondToAccessTokenRequest

This commit is contained in:
Alex Bilbie 2016-04-09 16:22:00 +01:00
parent 4689802c30
commit 76ea6b5a6c
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ abstract class AbstractGrant implements GrantTypeInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function canRespondToRequest(ServerRequestInterface $request) public function canRespondToAccessTokenRequest(ServerRequestInterface $request)
{ {
$requestParameters = (array) $request->getParsedBody(); $requestParameters = (array) $request->getParsedBody();

View File

@ -64,7 +64,7 @@ interface GrantTypeInterface extends EmitterAwareInterface
* *
* @return bool * @return bool
*/ */
public function canRespondToRequest(ServerRequestInterface $request); public function canRespondToAccessTokenRequest(ServerRequestInterface $request);
/** /**
* Set the client repository. * Set the client repository.