@@ 98-105 (lines=8) @@ | ||
95 | ); |
|
96 | } |
|
97 | ||
98 | protected function manipulateStorageConfig(StorageConfig $storage) { |
|
99 | /** @var AuthMechanism */ |
|
100 | $authMechanism = $storage->getAuthMechanism(); |
|
101 | $authMechanism->manipulateStorageConfig($storage, $this->userSession->getUser()); |
|
102 | /** @var Backend */ |
|
103 | $backend = $storage->getBackend(); |
|
104 | $backend->manipulateStorageConfig($storage, $this->userSession->getUser()); |
|
105 | } |
|
106 | ||
107 | /** |
|
108 | * Get an external storage entry. |
@@ 78-85 (lines=8) @@ | ||
75 | $this->userSession = $userSession; |
|
76 | } |
|
77 | ||
78 | protected function manipulateStorageConfig(StorageConfig $storage) { |
|
79 | /** @var AuthMechanism */ |
|
80 | $authMechanism = $storage->getAuthMechanism(); |
|
81 | $authMechanism->manipulateStorageConfig($storage, $this->userSession->getUser()); |
|
82 | /** @var Backend */ |
|
83 | $backend = $storage->getBackend(); |
|
84 | $backend->manipulateStorageConfig($storage, $this->userSession->getUser()); |
|
85 | } |
|
86 | ||
87 | /** |
|
88 | * Get all storage entries |