1 | <?php |
||
8 | class ClientRepository extends EntityRepository implements ClientCredentialsInterface |
||
9 | { |
||
10 | /** |
||
11 | * @param string $clientId |
||
12 | * @param string|null $clientSecret |
||
13 | * @return bool |
||
14 | */ |
||
15 | public function checkClientCredentials($clientId, $clientSecret = null) |
||
23 | |||
24 | /** |
||
25 | * @param $clientId |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function isPublicClient($clientId) |
||
32 | |||
33 | /** |
||
34 | * @param $clientId |
||
35 | * @return null|array |
||
36 | */ |
||
37 | public function getClientDetails($clientId) |
||
45 | |||
46 | /** |
||
47 | * @param $client_id |
||
48 | * @return null |
||
49 | */ |
||
50 | public function getClientScope($client_id) |
||
54 | |||
55 | /** |
||
56 | * @param $clientId |
||
57 | * @param $grantType |
||
58 | * @return bool |
||
59 | */ |
||
60 | public function checkRestrictedGrantType($clientId, $grantType) |
||
65 | |||
66 | |||
67 | } |