1 | <?php |
||
7 | class AdldapService |
||
8 | { |
||
9 | /** |
||
10 | * @var adLDAP The instance of adLdap used for each call of the service |
||
11 | */ |
||
12 | private $adLdap; |
||
13 | |||
14 | /** |
||
15 | * @var array The Active Directory parameters (see riper.security.active_directory.settings) |
||
16 | */ |
||
17 | private $parameters; |
||
18 | |||
19 | /** |
||
20 | * Constructor for the service. |
||
21 | * |
||
22 | * @param array $parameters Active Directory parameters |
||
23 | */ |
||
24 | public function __construct(array $parameters) |
||
29 | |||
30 | /** |
||
31 | * Returns an adLDAP instance. |
||
32 | * |
||
33 | * @return adLDAP The instance of the adLdap (lib) |
||
34 | */ |
||
35 | public function getInstance() |
||
41 | } |
||
42 |