mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-26 05:23:30 +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;
|
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…
x
Reference in New Issue
Block a user