Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
13 | class Scopes extends \Nip\Records\RecordManager implements ScopeRepositoryInterface |
||
14 | { |
||
15 | /** |
||
16 | * Return information about a scope. |
||
17 | * |
||
18 | * @param string $identifier The scope identifier |
||
19 | * |
||
20 | * @return ScopeEntityInterface |
||
21 | */ |
||
22 | public function getScopeEntityByIdentifier($identifier) |
||
24 | // TODO: Implement getScopeEntityByIdentifier() method. |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Given a client, grant type and optional user identifier validate the set of scopes requested are valid and optionally |
||
29 | * append additional scopes or remove requested scopes. |
||
30 | * |
||
31 | * @param ScopeEntityInterface[] $scopes |
||
32 | * @param string $grantType |
||
33 | * @param ClientEntityInterface $clientEntity |
||
34 | * @param null|string $userIdentifier |
||
35 | * |
||
36 | * @return ScopeEntityInterface[] |
||
37 | */ |
||
38 | public function finalizeScopes( |
||
46 | } |
||
47 | |||
48 | /** @noinspection PhpMissingParentCallCommonInspection |
||
49 | * @inheritDoc |
||
50 | */ |
||
51 | protected function generateTable() |
||
56 |