| 1 | <?php |
||
| 10 | class ClientRepository extends EntityRepository implements ClientRepositoryInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param string $clientIdentifier |
||
| 14 | * @param string $grantType |
||
| 15 | * @param null|string|null $clientSecret |
||
| 16 | * @param bool $mustValidateSecret |
||
| 17 | * @return ClientEntityInterface |
||
| 18 | */ |
||
| 19 | public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Client $client |
||
| 26 | * @return Client |
||
| 27 | */ |
||
| 28 | public function save(Client $client) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param Client $client |
||
| 39 | */ |
||
| 40 | public function delete(Client $client) |
||
| 45 | |||
| 46 | } |