| 1 | <?php |
||
| 15 | class StaticProvider implements ProviderInterface |
||
| 16 | { |
||
| 17 | /** @var \SURFnet\VPN\Common\Config */ |
||
| 18 | private $config; |
||
| 19 | |||
| 20 | public function __construct(Config $config) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the groups a user is a member of. |
||
| 27 | * |
||
| 28 | * @param string userId the userID of the user to request the groups of |
||
| 29 | * |
||
| 30 | * @return array the groups as an array containing the keys "id" and |
||
| 31 | * "displayName", empty array if no groups are available for this user |
||
| 32 | */ |
||
| 33 | public function getGroups($userId) |
||
| 52 | } |
||
| 53 |