| @@ 26-41 (lines=16) @@ | ||
| 23 | private $userId; |
|
| 24 | private $settings; |
|
| 25 | ||
| 26 | public function __construct( |
|
| 27 | $AppName, |
|
| 28 | IRequest $request, |
|
| 29 | $userId, |
|
| 30 | SettingsService $settings, |
|
| 31 | IL10N $l) { |
|
| 32 | parent::__construct( |
|
| 33 | $AppName, |
|
| 34 | $request, |
|
| 35 | 'GET, POST, DELETE, PUT, PATCH, OPTIONS', |
|
| 36 | 'Authorization, Content-Type, Accept', |
|
| 37 | 86400); |
|
| 38 | $this->settings = $settings; |
|
| 39 | $this->l = $l; |
|
| 40 | $this->userId = $userId; |
|
| 41 | } |
|
| 42 | ||
| 43 | /** |
|
| 44 | * @return TemplateResponse |
|
| @@ 31-47 (lines=17) @@ | ||
| 28 | private $credentialService; |
|
| 29 | private $settings; |
|
| 30 | ||
| 31 | public function __construct($AppName, |
|
| 32 | IRequest $request, |
|
| 33 | $UserId, |
|
| 34 | VaultService $vaultService, |
|
| 35 | CredentialService $credentialService, |
|
| 36 | SettingsService $settings) { |
|
| 37 | parent::__construct( |
|
| 38 | $AppName, |
|
| 39 | $request, |
|
| 40 | 'GET, POST, DELETE, PUT, PATCH, OPTIONS', |
|
| 41 | 'Authorization, Content-Type, Accept', |
|
| 42 | 86400); |
|
| 43 | $this->userId = $UserId; |
|
| 44 | $this->vaultService = $vaultService; |
|
| 45 | $this->credentialService = $credentialService; |
|
| 46 | $this->settings = $settings; |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @NoAdminRequired |
|