mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Removed unused method
This commit is contained in:
parent
bdd71743cd
commit
8fcf93c489
@ -99,18 +99,4 @@ abstract class AbstractServer implements ContainerAwareInterface, EmitterAwareIn
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a hydrated grant
|
||||
*
|
||||
* @param string $grant
|
||||
* @param \DateInterval $tokenTTL
|
||||
*
|
||||
* @return \League\OAuth2\Server\Repositories\RepositoryInterface
|
||||
* @deprecated
|
||||
*/
|
||||
public function getGrant($grant, \DateInterval $tokenTTL)
|
||||
{
|
||||
return $this->getContainer()->get($grant, [$this->responseType, $tokenTTL]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user