@@ 40-62 (lines=23) @@ | ||
37 | private $sharingService; |
|
38 | private $settings; |
|
39 | ||
40 | public function __construct($AppName, |
|
41 | IRequest $request, |
|
42 | $userId, |
|
43 | CredentialService $credentialService, |
|
44 | ActivityService $activityService, |
|
45 | CredentialRevisionService $credentialRevisionService, |
|
46 | ShareService $sharingService, |
|
47 | SettingsService $settings |
|
48 | ||
49 | ) { |
|
50 | parent::__construct( |
|
51 | $AppName, |
|
52 | $request, |
|
53 | 'GET, POST, DELETE, PUT, PATCH, OPTIONS', |
|
54 | 'Authorization, Content-Type, Accept', |
|
55 | 86400); |
|
56 | $this->userId = $userId; |
|
57 | $this->credentialService = $credentialService; |
|
58 | $this->activityService = $activityService; |
|
59 | $this->credentialRevisionService = $credentialRevisionService; |
|
60 | $this->sharingService = $sharingService; |
|
61 | $this->settings = $settings; |
|
62 | } |
|
63 | ||
64 | ||
65 | /** |
@@ 33-51 (lines=19) @@ | ||
30 | private $settings; |
|
31 | private $deleteVaultRequestService; |
|
32 | ||
33 | public function __construct($AppName, |
|
34 | IRequest $request, |
|
35 | $UserId, |
|
36 | VaultService $vaultService, |
|
37 | CredentialService $credentialService, |
|
38 | DeleteVaultRequestService $deleteVaultRequestService, |
|
39 | SettingsService $settings) { |
|
40 | parent::__construct( |
|
41 | $AppName, |
|
42 | $request, |
|
43 | 'GET, POST, DELETE, PUT, PATCH, OPTIONS', |
|
44 | 'Authorization, Content-Type, Accept', |
|
45 | 86400); |
|
46 | $this->userId = $UserId; |
|
47 | $this->vaultService = $vaultService; |
|
48 | $this->credentialService = $credentialService; |
|
49 | $this->deleteVaultRequestService = $deleteVaultRequestService; |
|
50 | $this->settings = $settings; |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * @NoAdminRequired |