| 1 | <?php |
||
| 18 | final class DefaultScopePolicy implements ScopePolicy |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $defaultScopes; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * DefaultScopePolicy constructor. |
||
| 27 | * |
||
| 28 | * @param string $defaultScopes |
||
| 29 | */ |
||
| 30 | public function __construct(string $defaultScopes) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function name(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function applyScopePolicy(string $scope, Client $client): string |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | private function getDefaultScopes(): string |
||
| 58 | } |
||
| 59 |