src/fkooman/VPN/Server/Disable.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
/** @var \fkooman\IO\IOInterface */ |
| 29 |
|
private $io; |
| 30 |
|
|
| 31 |
|
public function __construct($configDir, IOInterface $io = null) |
| 32 |
|
{ |
| 33 |
|
$this->configDir = $configDir; |
| 34 |
|
if (is_null($io)) { |
| 35 |
|
$io = new IO(); |
| 36 |
|
} |
| 37 |
|
$this->io = $io; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
public function getDisabled() |
| 41 |
|
{ |
src/fkooman/VPN/Server/OtpSecret.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
/** @var \fkooman\IO\IOInterface */ |
| 29 |
|
private $io; |
| 30 |
|
|
| 31 |
|
public function __construct($configDir, IOInterface $io = null) |
| 32 |
|
{ |
| 33 |
|
$this->configDir = $configDir; |
| 34 |
|
if (is_null($io)) { |
| 35 |
|
$io = new IO(); |
| 36 |
|
} |
| 37 |
|
$this->io = $io; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |
| 41 |
|
* Get a list of users that have an OTP secret set. |
src/fkooman/VPN/Server/VootToken.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
/** @var \fkooman\IO\IOInterface */ |
| 29 |
|
private $io; |
| 30 |
|
|
| 31 |
|
public function __construct($configDir, IOInterface $io = null) |
| 32 |
|
{ |
| 33 |
|
$this->configDir = $configDir; |
| 34 |
|
if (is_null($io)) { |
| 35 |
|
$io = new IO(); |
| 36 |
|
} |
| 37 |
|
$this->io = $io; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |
| 41 |
|
* Check whether a particular user has a VOOT token set. |