mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Renamed grant type canRespondToRequest
to canRespondToAccessTokenRequest
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user