mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-22 23:53:18 +05:30
Renamed grant type canRespondToRequest to canRespondToAccessTokenRequest
This commit is contained in:
1 parent
4689802c30
commit
76ea6b5a6c
2 files changed
+2
-2
No files matched your search
@@ -392,7 +392,7 @@ abstract class AbstractGrant implements GrantTypeInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function canRespondToRequest(ServerRequestInterface $request)
|
||||
public function canRespondToAccessTokenRequest(ServerRequestInterface $request)
|
||||
{
|
||||
$requestParameters = (array) $request->getParsedBody();
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ interface GrantTypeInterface extends EmitterAwareInterface
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function canRespondToRequest(ServerRequestInterface $request);
|
||||
public function canRespondToAccessTokenRequest(ServerRequestInterface $request);
|
||||
|
||||
/**
|
||||
* Set the client repository.
|
||||
|
||||
Reference in new issue
Block a user