Completed
Push — master ( 2f1c74...56897b )
by Robin
28:53 queued 13s
created
apps/files_external/lib/Lib/MissingDependency.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -11,40 +11,40 @@
 block discarded – undo
11 11
  */
12 12
 class MissingDependency {
13 13
 
14
-	/** @var string|null Custom message */
15
-	private ?string $message = null;
16
-	private bool $optional = false;
17
-
18
-	/**
19
-	 * @param string $dependency
20
-	 */
21
-	public function __construct(
22
-		private readonly string $dependency,
23
-	) {
24
-	}
25
-
26
-	public function getDependency(): string {
27
-		return $this->dependency;
28
-	}
29
-
30
-	public function getMessage(): ?string {
31
-		return $this->message;
32
-	}
33
-
34
-	/**
35
-	 * @param string $message
36
-	 * @return self
37
-	 */
38
-	public function setMessage($message) {
39
-		$this->message = $message;
40
-		return $this;
41
-	}
42
-
43
-	public function isOptional(): bool {
44
-		return $this->optional;
45
-	}
46
-
47
-	public function setOptional(bool $optional): void {
48
-		$this->optional = $optional;
49
-	}
14
+    /** @var string|null Custom message */
15
+    private ?string $message = null;
16
+    private bool $optional = false;
17
+
18
+    /**
19
+     * @param string $dependency
20
+     */
21
+    public function __construct(
22
+        private readonly string $dependency,
23
+    ) {
24
+    }
25
+
26
+    public function getDependency(): string {
27
+        return $this->dependency;
28
+    }
29
+
30
+    public function getMessage(): ?string {
31
+        return $this->message;
32
+    }
33
+
34
+    /**
35
+     * @param string $message
36
+     * @return self
37
+     */
38
+    public function setMessage($message) {
39
+        $this->message = $message;
40
+        return $this;
41
+    }
42
+
43
+    public function isOptional(): bool {
44
+        return $this->optional;
45
+    }
46
+
47
+    public function setOptional(bool $optional): void {
48
+        $this->optional = $optional;
49
+    }
50 50
 }
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/Backend/SMB.php 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -24,119 +24,119 @@
 block discarded – undo
24 24
 use OCP\IUser;
25 25
 
26 26
 class SMB extends Backend {
27
-	public function __construct(IL10N $l, Password $legacyAuth) {
28
-		$this
29
-			->setIdentifier('smb')
30
-			->addIdentifierAlias('\OC\Files\Storage\SMB')// legacy compat
31
-			->setStorageClass('\OCA\Files_External\Lib\Storage\SMB')
32
-			->setText($l->t('SMB/CIFS'))
33
-			->addParameters([
34
-				new DefinitionParameter('host', $l->t('Host')),
35
-				new DefinitionParameter('share', $l->t('Share')),
36
-				(new DefinitionParameter('root', $l->t('Remote subfolder')))
37
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL),
38
-				(new DefinitionParameter('domain', $l->t('Domain')))
39
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL),
40
-				(new DefinitionParameter('show_hidden', $l->t('Show hidden files')))
41
-					->setType(DefinitionParameter::VALUE_BOOLEAN)
42
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL),
43
-				(new DefinitionParameter('case_sensitive', $l->t('Case sensitive file system')))
44
-					->setType(DefinitionParameter::VALUE_BOOLEAN)
45
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL)
46
-					->setDefaultValue(true)
47
-					->setTooltip($l->t('Disabling it will allow to use a case insensitive file system, but comes with a performance penalty')),
48
-				(new DefinitionParameter('check_acl', $l->t('Verify ACL access when listing files')))
49
-					->setType(DefinitionParameter::VALUE_BOOLEAN)
50
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL)
51
-					->setTooltip($l->t("Check the ACL's of each file or folder inside a directory to filter out items where the account has no read permissions, comes with a performance penalty")),
52
-				(new DefinitionParameter('timeout', $l->t('Timeout')))
53
-					->setType(DefinitionParameter::VALUE_TEXT)
54
-					->setFlag(DefinitionParameter::FLAG_OPTIONAL)
55
-					->setFlag(DefinitionParameter::FLAG_HIDDEN),
56
-			])
57
-			->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
58
-			->addAuthScheme(AuthMechanism::SCHEME_SMB)
59
-			->setLegacyAuthMechanism($legacyAuth);
60
-	}
27
+    public function __construct(IL10N $l, Password $legacyAuth) {
28
+        $this
29
+            ->setIdentifier('smb')
30
+            ->addIdentifierAlias('\OC\Files\Storage\SMB')// legacy compat
31
+            ->setStorageClass('\OCA\Files_External\Lib\Storage\SMB')
32
+            ->setText($l->t('SMB/CIFS'))
33
+            ->addParameters([
34
+                new DefinitionParameter('host', $l->t('Host')),
35
+                new DefinitionParameter('share', $l->t('Share')),
36
+                (new DefinitionParameter('root', $l->t('Remote subfolder')))
37
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL),
38
+                (new DefinitionParameter('domain', $l->t('Domain')))
39
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL),
40
+                (new DefinitionParameter('show_hidden', $l->t('Show hidden files')))
41
+                    ->setType(DefinitionParameter::VALUE_BOOLEAN)
42
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL),
43
+                (new DefinitionParameter('case_sensitive', $l->t('Case sensitive file system')))
44
+                    ->setType(DefinitionParameter::VALUE_BOOLEAN)
45
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL)
46
+                    ->setDefaultValue(true)
47
+                    ->setTooltip($l->t('Disabling it will allow to use a case insensitive file system, but comes with a performance penalty')),
48
+                (new DefinitionParameter('check_acl', $l->t('Verify ACL access when listing files')))
49
+                    ->setType(DefinitionParameter::VALUE_BOOLEAN)
50
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL)
51
+                    ->setTooltip($l->t("Check the ACL's of each file or folder inside a directory to filter out items where the account has no read permissions, comes with a performance penalty")),
52
+                (new DefinitionParameter('timeout', $l->t('Timeout')))
53
+                    ->setType(DefinitionParameter::VALUE_TEXT)
54
+                    ->setFlag(DefinitionParameter::FLAG_OPTIONAL)
55
+                    ->setFlag(DefinitionParameter::FLAG_HIDDEN),
56
+            ])
57
+            ->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
58
+            ->addAuthScheme(AuthMechanism::SCHEME_SMB)
59
+            ->setLegacyAuthMechanism($legacyAuth);
60
+    }
61 61
 
62
-	/**
63
-	 * @return void
64
-	 */
65
-	public function manipulateStorageConfig(StorageConfig &$storage, ?IUser $user = null) {
66
-		$auth = $storage->getAuthMechanism();
67
-		if ($auth->getScheme() === AuthMechanism::SCHEME_PASSWORD) {
68
-			if (!is_string($storage->getBackendOption('user')) || !is_string($storage->getBackendOption('password'))) {
69
-				throw new \InvalidArgumentException('user or password is not set');
70
-			}
62
+    /**
63
+     * @return void
64
+     */
65
+    public function manipulateStorageConfig(StorageConfig &$storage, ?IUser $user = null) {
66
+        $auth = $storage->getAuthMechanism();
67
+        if ($auth->getScheme() === AuthMechanism::SCHEME_PASSWORD) {
68
+            if (!is_string($storage->getBackendOption('user')) || !is_string($storage->getBackendOption('password'))) {
69
+                throw new \InvalidArgumentException('user or password is not set');
70
+            }
71 71
 
72
-			$smbAuth = new BasicAuth(
73
-				$storage->getBackendOption('user'),
74
-				$storage->getBackendOption('domain'),
75
-				$storage->getBackendOption('password')
76
-			);
77
-		} else {
78
-			switch ($auth->getIdentifier()) {
79
-				case 'smb::kerberos':
80
-					$smbAuth = new KerberosAuth();
81
-					break;
82
-				case 'smb::kerberosapache':
83
-					if (!$auth instanceof KerberosApacheAuthMechanism) {
84
-						throw new \InvalidArgumentException('invalid authentication backend');
85
-					}
86
-					$credentialsStore = $auth->getCredentialsStore();
87
-					$kerbAuth = new KerberosApacheAuth();
88
-					// check if a kerberos ticket is available, else fallback to session credentials
89
-					if ($kerbAuth->checkTicket()) {
90
-						$smbAuth = $kerbAuth;
91
-					} else {
92
-						try {
93
-							$credentials = $credentialsStore->getLoginCredentials();
94
-							$user = $credentials->getLoginName();
95
-							$pass = $credentials->getPassword();
96
-							preg_match('/(.*)@(.*)/', $user, $matches);
97
-							$realm = $storage->getBackendOption('default_realm');
98
-							if (empty($realm)) {
99
-								$realm = 'WORKGROUP';
100
-							}
101
-							if (count($matches) === 0) {
102
-								$username = $user;
103
-								$workgroup = $realm;
104
-							} else {
105
-								$username = $matches[1];
106
-								$workgroup = $matches[2];
107
-							}
108
-							$smbAuth = new BasicAuth(
109
-								$username,
110
-								$workgroup,
111
-								$pass
112
-							);
113
-						} catch (\Exception $e) {
114
-							throw new InsufficientDataForMeaningfulAnswerException('No session credentials saved');
115
-						}
116
-					}
72
+            $smbAuth = new BasicAuth(
73
+                $storage->getBackendOption('user'),
74
+                $storage->getBackendOption('domain'),
75
+                $storage->getBackendOption('password')
76
+            );
77
+        } else {
78
+            switch ($auth->getIdentifier()) {
79
+                case 'smb::kerberos':
80
+                    $smbAuth = new KerberosAuth();
81
+                    break;
82
+                case 'smb::kerberosapache':
83
+                    if (!$auth instanceof KerberosApacheAuthMechanism) {
84
+                        throw new \InvalidArgumentException('invalid authentication backend');
85
+                    }
86
+                    $credentialsStore = $auth->getCredentialsStore();
87
+                    $kerbAuth = new KerberosApacheAuth();
88
+                    // check if a kerberos ticket is available, else fallback to session credentials
89
+                    if ($kerbAuth->checkTicket()) {
90
+                        $smbAuth = $kerbAuth;
91
+                    } else {
92
+                        try {
93
+                            $credentials = $credentialsStore->getLoginCredentials();
94
+                            $user = $credentials->getLoginName();
95
+                            $pass = $credentials->getPassword();
96
+                            preg_match('/(.*)@(.*)/', $user, $matches);
97
+                            $realm = $storage->getBackendOption('default_realm');
98
+                            if (empty($realm)) {
99
+                                $realm = 'WORKGROUP';
100
+                            }
101
+                            if (count($matches) === 0) {
102
+                                $username = $user;
103
+                                $workgroup = $realm;
104
+                            } else {
105
+                                $username = $matches[1];
106
+                                $workgroup = $matches[2];
107
+                            }
108
+                            $smbAuth = new BasicAuth(
109
+                                $username,
110
+                                $workgroup,
111
+                                $pass
112
+                            );
113
+                        } catch (\Exception $e) {
114
+                            throw new InsufficientDataForMeaningfulAnswerException('No session credentials saved');
115
+                        }
116
+                    }
117 117
 
118
-					break;
119
-				default:
120
-					throw new \InvalidArgumentException('unknown authentication backend');
121
-			}
122
-		}
118
+                    break;
119
+                default:
120
+                    throw new \InvalidArgumentException('unknown authentication backend');
121
+            }
122
+        }
123 123
 
124
-		$storage->setBackendOption('auth', $smbAuth);
125
-	}
124
+        $storage->setBackendOption('auth', $smbAuth);
125
+    }
126 126
 
127
-	public function checkDependencies() {
128
-		$system = \OCP\Server::get(SystemBridge::class);
129
-		if (NativeServer::available($system)) {
130
-			return [];
131
-		} elseif (Server::available($system)) {
132
-			$missing = new MissingDependency('php-smbclient');
133
-			$missing->setOptional(true);
134
-			$missing->setMessage('The php-smbclient library provides improved compatibility and performance for SMB storages.');
135
-			return [$missing];
136
-		} else {
137
-			$missing = new MissingDependency('php-smbclient');
138
-			$missing->setMessage('Either the php-smbclient library (preferred) or the smbclient binary is required for SMB storages.');
139
-			return [$missing, new MissingDependency('smbclient')];
140
-		}
141
-	}
127
+    public function checkDependencies() {
128
+        $system = \OCP\Server::get(SystemBridge::class);
129
+        if (NativeServer::available($system)) {
130
+            return [];
131
+        } elseif (Server::available($system)) {
132
+            $missing = new MissingDependency('php-smbclient');
133
+            $missing->setOptional(true);
134
+            $missing->setMessage('The php-smbclient library provides improved compatibility and performance for SMB storages.');
135
+            return [$missing];
136
+        } else {
137
+            $missing = new MissingDependency('php-smbclient');
138
+            $missing->setMessage('Either the php-smbclient library (preferred) or the smbclient binary is required for SMB storages.');
139
+            return [$missing, new MissingDependency('smbclient')];
140
+        }
141
+    }
142 142
 }
Please login to merge, or discard this patch.
apps/files_external/lib/Command/Dependencies.php 2 patches
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -11,46 +11,46 @@
 block discarded – undo
11 11
 use Symfony\Component\Console\Output\OutputInterface;
12 12
 
13 13
 class Dependencies extends Base {
14
-	public function __construct(
15
-		private readonly BackendService $backendService,
16
-	) {
17
-		parent::__construct();
18
-	}
19
-
20
-	protected function configure(): void {
21
-		$this
22
-			->setName('files_external:dependencies')
23
-			->setDescription('Show information about the backend dependencies');
24
-		parent::configure();
25
-	}
26
-
27
-	protected function execute(InputInterface $input, OutputInterface $output): int {
28
-		$storageBackends = $this->backendService->getBackends();
29
-
30
-		$anyMissing = false;
31
-
32
-		foreach ($storageBackends as $backend) {
33
-			if ($backend->getDeprecateTo() !== null) {
34
-				continue;
35
-			}
36
-			$missingDependencies = $backend->checkDependencies();
37
-			if ($missingDependencies) {
38
-				$anyMissing = true;
39
-				$output->writeln($backend->getText() . ':');
40
-				foreach ($missingDependencies as $missingDependency) {
41
-					if ($missingDependency->getMessage()) {
42
-						$output->writeln(" - <comment>{$missingDependency->getDependency()}</comment>: {$missingDependency->getMessage()}");
43
-					} else {
44
-						$output->writeln(" - <comment>{$missingDependency->getDependency()}</comment>");
45
-					}
46
-				}
47
-			}
48
-		}
49
-
50
-		if (!$anyMissing) {
51
-			$output->writeln('<info>All dependencies are met</info>');
52
-		}
53
-
54
-		return self::SUCCESS;
55
-	}
14
+    public function __construct(
15
+        private readonly BackendService $backendService,
16
+    ) {
17
+        parent::__construct();
18
+    }
19
+
20
+    protected function configure(): void {
21
+        $this
22
+            ->setName('files_external:dependencies')
23
+            ->setDescription('Show information about the backend dependencies');
24
+        parent::configure();
25
+    }
26
+
27
+    protected function execute(InputInterface $input, OutputInterface $output): int {
28
+        $storageBackends = $this->backendService->getBackends();
29
+
30
+        $anyMissing = false;
31
+
32
+        foreach ($storageBackends as $backend) {
33
+            if ($backend->getDeprecateTo() !== null) {
34
+                continue;
35
+            }
36
+            $missingDependencies = $backend->checkDependencies();
37
+            if ($missingDependencies) {
38
+                $anyMissing = true;
39
+                $output->writeln($backend->getText() . ':');
40
+                foreach ($missingDependencies as $missingDependency) {
41
+                    if ($missingDependency->getMessage()) {
42
+                        $output->writeln(" - <comment>{$missingDependency->getDependency()}</comment>: {$missingDependency->getMessage()}");
43
+                    } else {
44
+                        $output->writeln(" - <comment>{$missingDependency->getDependency()}</comment>");
45
+                    }
46
+                }
47
+            }
48
+        }
49
+
50
+        if (!$anyMissing) {
51
+            $output->writeln('<info>All dependencies are met</info>');
52
+        }
53
+
54
+        return self::SUCCESS;
55
+    }
56 56
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 			$missingDependencies = $backend->checkDependencies();
37 37
 			if ($missingDependencies) {
38 38
 				$anyMissing = true;
39
-				$output->writeln($backend->getText() . ':');
39
+				$output->writeln($backend->getText().':');
40 40
 				foreach ($missingDependencies as $missingDependency) {
41 41
 					if ($missingDependency->getMessage()) {
42 42
 						$output->writeln(" - <comment>{$missingDependency->getDependency()}</comment>: {$missingDependency->getMessage()}");
Please login to merge, or discard this patch.
apps/files_external/lib/Service/BackendService.php 2 patches
Indentation   +315 added lines, -315 removed lines patch added patch discarded remove patch
@@ -23,319 +23,319 @@
 block discarded – undo
23 23
  */
24 24
 class BackendService {
25 25
 
26
-	/** Visibility constants for VisibilityTrait */
27
-	public const VISIBILITY_NONE = 0;
28
-	public const VISIBILITY_PERSONAL = 1;
29
-	public const VISIBILITY_ADMIN = 2;
30
-	//const VISIBILITY_ALIENS = 4;
31
-
32
-	public const VISIBILITY_DEFAULT = 3; // PERSONAL | ADMIN
33
-
34
-	/** Priority constants for PriorityTrait */
35
-	public const PRIORITY_DEFAULT = 100;
36
-
37
-	/** @var bool */
38
-	private $userMountingAllowed = true;
39
-
40
-	/** @var string[] */
41
-	private $userMountingBackends = [];
42
-
43
-	/** @var Backend[] */
44
-	private $backends = [];
45
-
46
-	/** @var IBackendProvider[] */
47
-	private $backendProviders = [];
48
-
49
-	/** @var AuthMechanism[] */
50
-	private $authMechanisms = [];
51
-
52
-	/** @var IAuthMechanismProvider[] */
53
-	private $authMechanismProviders = [];
54
-
55
-	/** @var callable[] */
56
-	private $configHandlerLoaders = [];
57
-
58
-	private $configHandlers = [];
59
-
60
-	public function __construct(
61
-		protected IAppConfig $appConfig,
62
-	) {
63
-		// Load config values
64
-		$this->userMountingAllowed = $appConfig->getValueBool('files_external', ConfigLexicon::ALLOW_USER_MOUNTING);
65
-		$this->userMountingBackends = explode(',', $appConfig->getValueString('files_external', ConfigLexicon::USER_MOUNTING_BACKENDS));
66
-
67
-		// if no backend is in the list an empty string is in the array and user mounting is disabled
68
-		if ($this->userMountingBackends === ['']) {
69
-			$this->userMountingAllowed = false;
70
-		}
71
-	}
72
-
73
-	/**
74
-	 * Register a backend provider
75
-	 *
76
-	 * @since 9.1.0
77
-	 * @param IBackendProvider $provider
78
-	 */
79
-	public function registerBackendProvider(IBackendProvider $provider) {
80
-		$this->backendProviders[] = $provider;
81
-	}
82
-
83
-	private function callForRegistrations() {
84
-		static $eventSent = false;
85
-		if (!$eventSent) {
86
-			Server::get(IEventDispatcher::class)->dispatch(
87
-				'OCA\\Files_External::loadAdditionalBackends',
88
-				new GenericEvent()
89
-			);
90
-			$eventSent = true;
91
-		}
92
-	}
93
-
94
-	private function loadBackendProviders() {
95
-		$this->callForRegistrations();
96
-		foreach ($this->backendProviders as $provider) {
97
-			$this->registerBackends($provider->getBackends());
98
-		}
99
-		$this->backendProviders = [];
100
-	}
101
-
102
-	/**
103
-	 * Register an auth mechanism provider
104
-	 *
105
-	 * @since 9.1.0
106
-	 * @param IAuthMechanismProvider $provider
107
-	 */
108
-	public function registerAuthMechanismProvider(IAuthMechanismProvider $provider) {
109
-		$this->authMechanismProviders[] = $provider;
110
-	}
111
-
112
-	private function loadAuthMechanismProviders() {
113
-		$this->callForRegistrations();
114
-		foreach ($this->authMechanismProviders as $provider) {
115
-			$this->registerAuthMechanisms($provider->getAuthMechanisms());
116
-		}
117
-		$this->authMechanismProviders = [];
118
-	}
119
-
120
-	/**
121
-	 * Register a backend
122
-	 *
123
-	 * @deprecated 9.1.0 use registerBackendProvider()
124
-	 * @param Backend $backend
125
-	 */
126
-	public function registerBackend(Backend $backend) {
127
-		if (!$this->isAllowedUserBackend($backend)) {
128
-			$backend->removeVisibility(BackendService::VISIBILITY_PERSONAL);
129
-		}
130
-		foreach ($backend->getIdentifierAliases() as $alias) {
131
-			$this->backends[$alias] = $backend;
132
-		}
133
-	}
134
-
135
-	/**
136
-	 * @deprecated 9.1.0 use registerBackendProvider()
137
-	 * @param Backend[] $backends
138
-	 */
139
-	public function registerBackends(array $backends) {
140
-		foreach ($backends as $backend) {
141
-			$this->registerBackend($backend);
142
-		}
143
-	}
144
-	/**
145
-	 * Register an authentication mechanism
146
-	 *
147
-	 * @deprecated 9.1.0 use registerAuthMechanismProvider()
148
-	 * @param AuthMechanism $authMech
149
-	 */
150
-	public function registerAuthMechanism(AuthMechanism $authMech) {
151
-		if (!$this->isAllowedAuthMechanism($authMech)) {
152
-			$authMech->removeVisibility(BackendService::VISIBILITY_PERSONAL);
153
-		}
154
-		foreach ($authMech->getIdentifierAliases() as $alias) {
155
-			$this->authMechanisms[$alias] = $authMech;
156
-		}
157
-	}
158
-
159
-	/**
160
-	 * @deprecated 9.1.0 use registerAuthMechanismProvider()
161
-	 * @param AuthMechanism[] $mechanisms
162
-	 */
163
-	public function registerAuthMechanisms(array $mechanisms) {
164
-		foreach ($mechanisms as $mechanism) {
165
-			$this->registerAuthMechanism($mechanism);
166
-		}
167
-	}
168
-
169
-	/**
170
-	 * Get all backends
171
-	 *
172
-	 * @return Backend[]
173
-	 */
174
-	public function getBackends() {
175
-		$this->loadBackendProviders();
176
-		// only return real identifiers, no aliases
177
-		$backends = [];
178
-		foreach ($this->backends as $backend) {
179
-			$backends[$backend->getIdentifier()] = $backend;
180
-		}
181
-		return $backends;
182
-	}
183
-
184
-	/**
185
-	 * Get all available backends
186
-	 *
187
-	 * @return Backend[]
188
-	 */
189
-	public function getAvailableBackends() {
190
-		return array_filter($this->getBackends(), function ($backend) {
191
-			$missing = array_filter($backend->checkDependencies(), fn (MissingDependency $dependency) => !$dependency->isOptional());
192
-			return count($missing) === 0;
193
-		});
194
-	}
195
-
196
-	/**
197
-	 * @param string $identifier
198
-	 * @return Backend|null
199
-	 */
200
-	public function getBackend($identifier) {
201
-		$this->loadBackendProviders();
202
-		if (isset($this->backends[$identifier])) {
203
-			return $this->backends[$identifier];
204
-		}
205
-		return null;
206
-	}
207
-
208
-	/**
209
-	 * Get all authentication mechanisms
210
-	 *
211
-	 * @return AuthMechanism[]
212
-	 */
213
-	public function getAuthMechanisms() {
214
-		$this->loadAuthMechanismProviders();
215
-		// only return real identifiers, no aliases
216
-		$mechanisms = [];
217
-		foreach ($this->authMechanisms as $mechanism) {
218
-			$mechanisms[$mechanism->getIdentifier()] = $mechanism;
219
-		}
220
-		return $mechanisms;
221
-	}
222
-
223
-	/**
224
-	 * Get all authentication mechanisms for schemes
225
-	 *
226
-	 * @param string[] $schemes
227
-	 * @return AuthMechanism[]
228
-	 */
229
-	public function getAuthMechanismsByScheme(array $schemes) {
230
-		return array_filter($this->getAuthMechanisms(), function ($authMech) use ($schemes) {
231
-			return in_array($authMech->getScheme(), $schemes, true);
232
-		});
233
-	}
234
-
235
-	/**
236
-	 * @param string $identifier
237
-	 * @return AuthMechanism|null
238
-	 */
239
-	public function getAuthMechanism($identifier) {
240
-		$this->loadAuthMechanismProviders();
241
-		if (isset($this->authMechanisms[$identifier])) {
242
-			return $this->authMechanisms[$identifier];
243
-		}
244
-		return null;
245
-	}
246
-
247
-	/**
248
-	 * @return bool
249
-	 */
250
-	public function isUserMountingAllowed() {
251
-		return $this->userMountingAllowed;
252
-	}
253
-
254
-	/**
255
-	 * Check a backend if a user is allowed to mount it
256
-	 *
257
-	 * @param Backend $backend
258
-	 * @return bool
259
-	 */
260
-	protected function isAllowedUserBackend(Backend $backend) {
261
-		if ($this->userMountingAllowed &&
262
-			array_intersect($backend->getIdentifierAliases(), $this->userMountingBackends)
263
-		) {
264
-			return true;
265
-		}
266
-		return false;
267
-	}
268
-
269
-	/**
270
-	 * Check an authentication mechanism if a user is allowed to use it
271
-	 *
272
-	 * @param AuthMechanism $authMechanism
273
-	 * @return bool
274
-	 */
275
-	protected function isAllowedAuthMechanism(AuthMechanism $authMechanism) {
276
-		return true; // not implemented
277
-	}
278
-
279
-	/**
280
-	 * registers a configuration handler
281
-	 *
282
-	 * The function of the provided $placeholder is mostly to act a sorting
283
-	 * criteria, so longer placeholders are replaced first. This avoids
284
-	 * "$user" overwriting parts of "$userMail" and "$userLang", for example.
285
-	 * The provided value should not contain the $ prefix, only a-z0-9 are
286
-	 * allowed. Upper case letters are lower cased, the replacement is case-
287
-	 * insensitive.
288
-	 *
289
-	 * The configHandlerLoader should just instantiate the handler on demand.
290
-	 * For now all handlers are instantiated when a mount is loaded, independent
291
-	 * of whether the placeholder is present or not. This may change in future.
292
-	 *
293
-	 * @since 16.0.0
294
-	 */
295
-	public function registerConfigHandler(string $placeholder, callable $configHandlerLoader) {
296
-		$placeholder = trim(strtolower($placeholder));
297
-		if (!(bool)\preg_match('/^[a-z0-9]*$/', $placeholder)) {
298
-			throw new \RuntimeException(sprintf(
299
-				'Invalid placeholder %s, only [a-z0-9] are allowed', $placeholder
300
-			));
301
-		}
302
-		if ($placeholder === '') {
303
-			throw new \RuntimeException('Invalid empty placeholder');
304
-		}
305
-		if (isset($this->configHandlerLoaders[$placeholder]) || isset($this->configHandlers[$placeholder])) {
306
-			throw new \RuntimeException(sprintf('A handler is already registered for %s', $placeholder));
307
-		}
308
-		$this->configHandlerLoaders[$placeholder] = $configHandlerLoader;
309
-	}
310
-
311
-	protected function loadConfigHandlers():void {
312
-		$this->callForRegistrations();
313
-		$newLoaded = false;
314
-		foreach ($this->configHandlerLoaders as $placeholder => $loader) {
315
-			$handler = $loader();
316
-			if (!$handler instanceof IConfigHandler) {
317
-				throw new \RuntimeException(sprintf(
318
-					'Handler for %s is not an instance of IConfigHandler', $placeholder
319
-				));
320
-			}
321
-			$this->configHandlers[$placeholder] = $handler;
322
-			$newLoaded = true;
323
-		}
324
-		$this->configHandlerLoaders = [];
325
-		if ($newLoaded) {
326
-			// ensure those with longest placeholders come first,
327
-			// to avoid substring matches
328
-			uksort($this->configHandlers, function ($phA, $phB) {
329
-				return strlen($phB) <=> strlen($phA);
330
-			});
331
-		}
332
-	}
333
-
334
-	/**
335
-	 * @since 16.0.0
336
-	 */
337
-	public function getConfigHandlers() {
338
-		$this->loadConfigHandlers();
339
-		return $this->configHandlers;
340
-	}
26
+    /** Visibility constants for VisibilityTrait */
27
+    public const VISIBILITY_NONE = 0;
28
+    public const VISIBILITY_PERSONAL = 1;
29
+    public const VISIBILITY_ADMIN = 2;
30
+    //const VISIBILITY_ALIENS = 4;
31
+
32
+    public const VISIBILITY_DEFAULT = 3; // PERSONAL | ADMIN
33
+
34
+    /** Priority constants for PriorityTrait */
35
+    public const PRIORITY_DEFAULT = 100;
36
+
37
+    /** @var bool */
38
+    private $userMountingAllowed = true;
39
+
40
+    /** @var string[] */
41
+    private $userMountingBackends = [];
42
+
43
+    /** @var Backend[] */
44
+    private $backends = [];
45
+
46
+    /** @var IBackendProvider[] */
47
+    private $backendProviders = [];
48
+
49
+    /** @var AuthMechanism[] */
50
+    private $authMechanisms = [];
51
+
52
+    /** @var IAuthMechanismProvider[] */
53
+    private $authMechanismProviders = [];
54
+
55
+    /** @var callable[] */
56
+    private $configHandlerLoaders = [];
57
+
58
+    private $configHandlers = [];
59
+
60
+    public function __construct(
61
+        protected IAppConfig $appConfig,
62
+    ) {
63
+        // Load config values
64
+        $this->userMountingAllowed = $appConfig->getValueBool('files_external', ConfigLexicon::ALLOW_USER_MOUNTING);
65
+        $this->userMountingBackends = explode(',', $appConfig->getValueString('files_external', ConfigLexicon::USER_MOUNTING_BACKENDS));
66
+
67
+        // if no backend is in the list an empty string is in the array and user mounting is disabled
68
+        if ($this->userMountingBackends === ['']) {
69
+            $this->userMountingAllowed = false;
70
+        }
71
+    }
72
+
73
+    /**
74
+     * Register a backend provider
75
+     *
76
+     * @since 9.1.0
77
+     * @param IBackendProvider $provider
78
+     */
79
+    public function registerBackendProvider(IBackendProvider $provider) {
80
+        $this->backendProviders[] = $provider;
81
+    }
82
+
83
+    private function callForRegistrations() {
84
+        static $eventSent = false;
85
+        if (!$eventSent) {
86
+            Server::get(IEventDispatcher::class)->dispatch(
87
+                'OCA\\Files_External::loadAdditionalBackends',
88
+                new GenericEvent()
89
+            );
90
+            $eventSent = true;
91
+        }
92
+    }
93
+
94
+    private function loadBackendProviders() {
95
+        $this->callForRegistrations();
96
+        foreach ($this->backendProviders as $provider) {
97
+            $this->registerBackends($provider->getBackends());
98
+        }
99
+        $this->backendProviders = [];
100
+    }
101
+
102
+    /**
103
+     * Register an auth mechanism provider
104
+     *
105
+     * @since 9.1.0
106
+     * @param IAuthMechanismProvider $provider
107
+     */
108
+    public function registerAuthMechanismProvider(IAuthMechanismProvider $provider) {
109
+        $this->authMechanismProviders[] = $provider;
110
+    }
111
+
112
+    private function loadAuthMechanismProviders() {
113
+        $this->callForRegistrations();
114
+        foreach ($this->authMechanismProviders as $provider) {
115
+            $this->registerAuthMechanisms($provider->getAuthMechanisms());
116
+        }
117
+        $this->authMechanismProviders = [];
118
+    }
119
+
120
+    /**
121
+     * Register a backend
122
+     *
123
+     * @deprecated 9.1.0 use registerBackendProvider()
124
+     * @param Backend $backend
125
+     */
126
+    public function registerBackend(Backend $backend) {
127
+        if (!$this->isAllowedUserBackend($backend)) {
128
+            $backend->removeVisibility(BackendService::VISIBILITY_PERSONAL);
129
+        }
130
+        foreach ($backend->getIdentifierAliases() as $alias) {
131
+            $this->backends[$alias] = $backend;
132
+        }
133
+    }
134
+
135
+    /**
136
+     * @deprecated 9.1.0 use registerBackendProvider()
137
+     * @param Backend[] $backends
138
+     */
139
+    public function registerBackends(array $backends) {
140
+        foreach ($backends as $backend) {
141
+            $this->registerBackend($backend);
142
+        }
143
+    }
144
+    /**
145
+     * Register an authentication mechanism
146
+     *
147
+     * @deprecated 9.1.0 use registerAuthMechanismProvider()
148
+     * @param AuthMechanism $authMech
149
+     */
150
+    public function registerAuthMechanism(AuthMechanism $authMech) {
151
+        if (!$this->isAllowedAuthMechanism($authMech)) {
152
+            $authMech->removeVisibility(BackendService::VISIBILITY_PERSONAL);
153
+        }
154
+        foreach ($authMech->getIdentifierAliases() as $alias) {
155
+            $this->authMechanisms[$alias] = $authMech;
156
+        }
157
+    }
158
+
159
+    /**
160
+     * @deprecated 9.1.0 use registerAuthMechanismProvider()
161
+     * @param AuthMechanism[] $mechanisms
162
+     */
163
+    public function registerAuthMechanisms(array $mechanisms) {
164
+        foreach ($mechanisms as $mechanism) {
165
+            $this->registerAuthMechanism($mechanism);
166
+        }
167
+    }
168
+
169
+    /**
170
+     * Get all backends
171
+     *
172
+     * @return Backend[]
173
+     */
174
+    public function getBackends() {
175
+        $this->loadBackendProviders();
176
+        // only return real identifiers, no aliases
177
+        $backends = [];
178
+        foreach ($this->backends as $backend) {
179
+            $backends[$backend->getIdentifier()] = $backend;
180
+        }
181
+        return $backends;
182
+    }
183
+
184
+    /**
185
+     * Get all available backends
186
+     *
187
+     * @return Backend[]
188
+     */
189
+    public function getAvailableBackends() {
190
+        return array_filter($this->getBackends(), function ($backend) {
191
+            $missing = array_filter($backend->checkDependencies(), fn (MissingDependency $dependency) => !$dependency->isOptional());
192
+            return count($missing) === 0;
193
+        });
194
+    }
195
+
196
+    /**
197
+     * @param string $identifier
198
+     * @return Backend|null
199
+     */
200
+    public function getBackend($identifier) {
201
+        $this->loadBackendProviders();
202
+        if (isset($this->backends[$identifier])) {
203
+            return $this->backends[$identifier];
204
+        }
205
+        return null;
206
+    }
207
+
208
+    /**
209
+     * Get all authentication mechanisms
210
+     *
211
+     * @return AuthMechanism[]
212
+     */
213
+    public function getAuthMechanisms() {
214
+        $this->loadAuthMechanismProviders();
215
+        // only return real identifiers, no aliases
216
+        $mechanisms = [];
217
+        foreach ($this->authMechanisms as $mechanism) {
218
+            $mechanisms[$mechanism->getIdentifier()] = $mechanism;
219
+        }
220
+        return $mechanisms;
221
+    }
222
+
223
+    /**
224
+     * Get all authentication mechanisms for schemes
225
+     *
226
+     * @param string[] $schemes
227
+     * @return AuthMechanism[]
228
+     */
229
+    public function getAuthMechanismsByScheme(array $schemes) {
230
+        return array_filter($this->getAuthMechanisms(), function ($authMech) use ($schemes) {
231
+            return in_array($authMech->getScheme(), $schemes, true);
232
+        });
233
+    }
234
+
235
+    /**
236
+     * @param string $identifier
237
+     * @return AuthMechanism|null
238
+     */
239
+    public function getAuthMechanism($identifier) {
240
+        $this->loadAuthMechanismProviders();
241
+        if (isset($this->authMechanisms[$identifier])) {
242
+            return $this->authMechanisms[$identifier];
243
+        }
244
+        return null;
245
+    }
246
+
247
+    /**
248
+     * @return bool
249
+     */
250
+    public function isUserMountingAllowed() {
251
+        return $this->userMountingAllowed;
252
+    }
253
+
254
+    /**
255
+     * Check a backend if a user is allowed to mount it
256
+     *
257
+     * @param Backend $backend
258
+     * @return bool
259
+     */
260
+    protected function isAllowedUserBackend(Backend $backend) {
261
+        if ($this->userMountingAllowed &&
262
+            array_intersect($backend->getIdentifierAliases(), $this->userMountingBackends)
263
+        ) {
264
+            return true;
265
+        }
266
+        return false;
267
+    }
268
+
269
+    /**
270
+     * Check an authentication mechanism if a user is allowed to use it
271
+     *
272
+     * @param AuthMechanism $authMechanism
273
+     * @return bool
274
+     */
275
+    protected function isAllowedAuthMechanism(AuthMechanism $authMechanism) {
276
+        return true; // not implemented
277
+    }
278
+
279
+    /**
280
+     * registers a configuration handler
281
+     *
282
+     * The function of the provided $placeholder is mostly to act a sorting
283
+     * criteria, so longer placeholders are replaced first. This avoids
284
+     * "$user" overwriting parts of "$userMail" and "$userLang", for example.
285
+     * The provided value should not contain the $ prefix, only a-z0-9 are
286
+     * allowed. Upper case letters are lower cased, the replacement is case-
287
+     * insensitive.
288
+     *
289
+     * The configHandlerLoader should just instantiate the handler on demand.
290
+     * For now all handlers are instantiated when a mount is loaded, independent
291
+     * of whether the placeholder is present or not. This may change in future.
292
+     *
293
+     * @since 16.0.0
294
+     */
295
+    public function registerConfigHandler(string $placeholder, callable $configHandlerLoader) {
296
+        $placeholder = trim(strtolower($placeholder));
297
+        if (!(bool)\preg_match('/^[a-z0-9]*$/', $placeholder)) {
298
+            throw new \RuntimeException(sprintf(
299
+                'Invalid placeholder %s, only [a-z0-9] are allowed', $placeholder
300
+            ));
301
+        }
302
+        if ($placeholder === '') {
303
+            throw new \RuntimeException('Invalid empty placeholder');
304
+        }
305
+        if (isset($this->configHandlerLoaders[$placeholder]) || isset($this->configHandlers[$placeholder])) {
306
+            throw new \RuntimeException(sprintf('A handler is already registered for %s', $placeholder));
307
+        }
308
+        $this->configHandlerLoaders[$placeholder] = $configHandlerLoader;
309
+    }
310
+
311
+    protected function loadConfigHandlers():void {
312
+        $this->callForRegistrations();
313
+        $newLoaded = false;
314
+        foreach ($this->configHandlerLoaders as $placeholder => $loader) {
315
+            $handler = $loader();
316
+            if (!$handler instanceof IConfigHandler) {
317
+                throw new \RuntimeException(sprintf(
318
+                    'Handler for %s is not an instance of IConfigHandler', $placeholder
319
+                ));
320
+            }
321
+            $this->configHandlers[$placeholder] = $handler;
322
+            $newLoaded = true;
323
+        }
324
+        $this->configHandlerLoaders = [];
325
+        if ($newLoaded) {
326
+            // ensure those with longest placeholders come first,
327
+            // to avoid substring matches
328
+            uksort($this->configHandlers, function ($phA, $phB) {
329
+                return strlen($phB) <=> strlen($phA);
330
+            });
331
+        }
332
+    }
333
+
334
+    /**
335
+     * @since 16.0.0
336
+     */
337
+    public function getConfigHandlers() {
338
+        $this->loadConfigHandlers();
339
+        return $this->configHandlers;
340
+    }
341 341
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	 * @return Backend[]
188 188
 	 */
189 189
 	public function getAvailableBackends() {
190
-		return array_filter($this->getBackends(), function ($backend) {
190
+		return array_filter($this->getBackends(), function($backend) {
191 191
 			$missing = array_filter($backend->checkDependencies(), fn (MissingDependency $dependency) => !$dependency->isOptional());
192 192
 			return count($missing) === 0;
193 193
 		});
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 	 * @return AuthMechanism[]
228 228
 	 */
229 229
 	public function getAuthMechanismsByScheme(array $schemes) {
230
-		return array_filter($this->getAuthMechanisms(), function ($authMech) use ($schemes) {
230
+		return array_filter($this->getAuthMechanisms(), function($authMech) use ($schemes) {
231 231
 			return in_array($authMech->getScheme(), $schemes, true);
232 232
 		});
233 233
 	}
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
 	 */
295 295
 	public function registerConfigHandler(string $placeholder, callable $configHandlerLoader) {
296 296
 		$placeholder = trim(strtolower($placeholder));
297
-		if (!(bool)\preg_match('/^[a-z0-9]*$/', $placeholder)) {
297
+		if (!(bool) \preg_match('/^[a-z0-9]*$/', $placeholder)) {
298 298
 			throw new \RuntimeException(sprintf(
299 299
 				'Invalid placeholder %s, only [a-z0-9] are allowed', $placeholder
300 300
 			));
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 		if ($newLoaded) {
326 326
 			// ensure those with longest placeholders come first,
327 327
 			// to avoid substring matches
328
-			uksort($this->configHandlers, function ($phA, $phB) {
328
+			uksort($this->configHandlers, function($phA, $phB) {
329 329
 				return strlen($phB) <=> strlen($phA);
330 330
 			});
331 331
 		}
Please login to merge, or discard this patch.
apps/files_external/composer/composer/autoload_static.php 1 patch
Spacing   +126 added lines, -126 removed lines patch added patch discarded remove patch
@@ -6,145 +6,145 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitFiles_External
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\Files_External\\' => 19,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\Files_External\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\Files_External\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
-        'OCA\\Files_External\\BackgroundJob\\CredentialsCleanup' => __DIR__ . '/..' . '/../lib/BackgroundJob/CredentialsCleanup.php',
27
-        'OCA\\Files_External\\Command\\Applicable' => __DIR__ . '/..' . '/../lib/Command/Applicable.php',
28
-        'OCA\\Files_External\\Command\\Backends' => __DIR__ . '/..' . '/../lib/Command/Backends.php',
29
-        'OCA\\Files_External\\Command\\Config' => __DIR__ . '/..' . '/../lib/Command/Config.php',
30
-        'OCA\\Files_External\\Command\\Create' => __DIR__ . '/..' . '/../lib/Command/Create.php',
31
-        'OCA\\Files_External\\Command\\Delete' => __DIR__ . '/..' . '/../lib/Command/Delete.php',
32
-        'OCA\\Files_External\\Command\\Dependencies' => __DIR__ . '/..' . '/../lib/Command/Dependencies.php',
33
-        'OCA\\Files_External\\Command\\Export' => __DIR__ . '/..' . '/../lib/Command/Export.php',
34
-        'OCA\\Files_External\\Command\\Import' => __DIR__ . '/..' . '/../lib/Command/Import.php',
35
-        'OCA\\Files_External\\Command\\ListCommand' => __DIR__ . '/..' . '/../lib/Command/ListCommand.php',
36
-        'OCA\\Files_External\\Command\\Notify' => __DIR__ . '/..' . '/../lib/Command/Notify.php',
37
-        'OCA\\Files_External\\Command\\Option' => __DIR__ . '/..' . '/../lib/Command/Option.php',
38
-        'OCA\\Files_External\\Command\\Scan' => __DIR__ . '/..' . '/../lib/Command/Scan.php',
39
-        'OCA\\Files_External\\Command\\StorageAuthBase' => __DIR__ . '/..' . '/../lib/Command/StorageAuthBase.php',
40
-        'OCA\\Files_External\\Command\\Verify' => __DIR__ . '/..' . '/../lib/Command/Verify.php',
41
-        'OCA\\Files_External\\ConfigLexicon' => __DIR__ . '/..' . '/../lib/ConfigLexicon.php',
42
-        'OCA\\Files_External\\Config\\ConfigAdapter' => __DIR__ . '/..' . '/../lib/Config/ConfigAdapter.php',
43
-        'OCA\\Files_External\\Config\\ExternalMountPoint' => __DIR__ . '/..' . '/../lib/Config/ExternalMountPoint.php',
44
-        'OCA\\Files_External\\Config\\IConfigHandler' => __DIR__ . '/..' . '/../lib/Config/IConfigHandler.php',
45
-        'OCA\\Files_External\\Config\\SimpleSubstitutionTrait' => __DIR__ . '/..' . '/../lib/Config/SimpleSubstitutionTrait.php',
46
-        'OCA\\Files_External\\Config\\SystemMountPoint' => __DIR__ . '/..' . '/../lib/Config/SystemMountPoint.php',
47
-        'OCA\\Files_External\\Config\\UserContext' => __DIR__ . '/..' . '/../lib/Config/UserContext.php',
48
-        'OCA\\Files_External\\Config\\UserPlaceholderHandler' => __DIR__ . '/..' . '/../lib/Config/UserPlaceholderHandler.php',
49
-        'OCA\\Files_External\\Controller\\AjaxController' => __DIR__ . '/..' . '/../lib/Controller/AjaxController.php',
50
-        'OCA\\Files_External\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php',
51
-        'OCA\\Files_External\\Controller\\GlobalStoragesController' => __DIR__ . '/..' . '/../lib/Controller/GlobalStoragesController.php',
52
-        'OCA\\Files_External\\Controller\\StoragesController' => __DIR__ . '/..' . '/../lib/Controller/StoragesController.php',
53
-        'OCA\\Files_External\\Controller\\UserGlobalStoragesController' => __DIR__ . '/..' . '/../lib/Controller/UserGlobalStoragesController.php',
54
-        'OCA\\Files_External\\Controller\\UserStoragesController' => __DIR__ . '/..' . '/../lib/Controller/UserStoragesController.php',
55
-        'OCA\\Files_External\\Lib\\Auth\\AmazonS3\\AccessKey' => __DIR__ . '/..' . '/../lib/Lib/Auth/AmazonS3/AccessKey.php',
56
-        'OCA\\Files_External\\Lib\\Auth\\AuthMechanism' => __DIR__ . '/..' . '/../lib/Lib/Auth/AuthMechanism.php',
57
-        'OCA\\Files_External\\Lib\\Auth\\Builtin' => __DIR__ . '/..' . '/../lib/Lib/Auth/Builtin.php',
58
-        'OCA\\Files_External\\Lib\\Auth\\IUserProvided' => __DIR__ . '/..' . '/../lib/Lib/Auth/IUserProvided.php',
59
-        'OCA\\Files_External\\Lib\\Auth\\InvalidAuth' => __DIR__ . '/..' . '/../lib/Lib/Auth/InvalidAuth.php',
60
-        'OCA\\Files_External\\Lib\\Auth\\NullMechanism' => __DIR__ . '/..' . '/../lib/Lib/Auth/NullMechanism.php',
61
-        'OCA\\Files_External\\Lib\\Auth\\OAuth1\\OAuth1' => __DIR__ . '/..' . '/../lib/Lib/Auth/OAuth1/OAuth1.php',
62
-        'OCA\\Files_External\\Lib\\Auth\\OAuth2\\OAuth2' => __DIR__ . '/..' . '/../lib/Lib/Auth/OAuth2/OAuth2.php',
63
-        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV2' => __DIR__ . '/..' . '/../lib/Lib/Auth/OpenStack/OpenStackV2.php',
64
-        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV3' => __DIR__ . '/..' . '/../lib/Lib/Auth/OpenStack/OpenStackV3.php',
65
-        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\Rackspace' => __DIR__ . '/..' . '/../lib/Lib/Auth/OpenStack/Rackspace.php',
66
-        'OCA\\Files_External\\Lib\\Auth\\Password\\GlobalAuth' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/GlobalAuth.php',
67
-        'OCA\\Files_External\\Lib\\Auth\\Password\\LoginCredentials' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/LoginCredentials.php',
68
-        'OCA\\Files_External\\Lib\\Auth\\Password\\Password' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/Password.php',
69
-        'OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/SessionCredentials.php',
70
-        'OCA\\Files_External\\Lib\\Auth\\Password\\UserGlobalAuth' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/UserGlobalAuth.php',
71
-        'OCA\\Files_External\\Lib\\Auth\\Password\\UserProvided' => __DIR__ . '/..' . '/../lib/Lib/Auth/Password/UserProvided.php',
72
-        'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSA' => __DIR__ . '/..' . '/../lib/Lib/Auth/PublicKey/RSA.php',
73
-        'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSAPrivateKey' => __DIR__ . '/..' . '/../lib/Lib/Auth/PublicKey/RSAPrivateKey.php',
74
-        'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosApacheAuth' => __DIR__ . '/..' . '/../lib/Lib/Auth/SMB/KerberosApacheAuth.php',
75
-        'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosAuth' => __DIR__ . '/..' . '/../lib/Lib/Auth/SMB/KerberosAuth.php',
76
-        'OCA\\Files_External\\Lib\\Backend\\AmazonS3' => __DIR__ . '/..' . '/../lib/Lib/Backend/AmazonS3.php',
77
-        'OCA\\Files_External\\Lib\\Backend\\Backend' => __DIR__ . '/..' . '/../lib/Lib/Backend/Backend.php',
78
-        'OCA\\Files_External\\Lib\\Backend\\DAV' => __DIR__ . '/..' . '/../lib/Lib/Backend/DAV.php',
79
-        'OCA\\Files_External\\Lib\\Backend\\FTP' => __DIR__ . '/..' . '/../lib/Lib/Backend/FTP.php',
80
-        'OCA\\Files_External\\Lib\\Backend\\InvalidBackend' => __DIR__ . '/..' . '/../lib/Lib/Backend/InvalidBackend.php',
81
-        'OCA\\Files_External\\Lib\\Backend\\LegacyBackend' => __DIR__ . '/..' . '/../lib/Lib/Backend/LegacyBackend.php',
82
-        'OCA\\Files_External\\Lib\\Backend\\Local' => __DIR__ . '/..' . '/../lib/Lib/Backend/Local.php',
83
-        'OCA\\Files_External\\Lib\\Backend\\OwnCloud' => __DIR__ . '/..' . '/../lib/Lib/Backend/OwnCloud.php',
84
-        'OCA\\Files_External\\Lib\\Backend\\SFTP' => __DIR__ . '/..' . '/../lib/Lib/Backend/SFTP.php',
85
-        'OCA\\Files_External\\Lib\\Backend\\SFTP_Key' => __DIR__ . '/..' . '/../lib/Lib/Backend/SFTP_Key.php',
86
-        'OCA\\Files_External\\Lib\\Backend\\SMB' => __DIR__ . '/..' . '/../lib/Lib/Backend/SMB.php',
87
-        'OCA\\Files_External\\Lib\\Backend\\SMB_OC' => __DIR__ . '/..' . '/../lib/Lib/Backend/SMB_OC.php',
88
-        'OCA\\Files_External\\Lib\\Backend\\Swift' => __DIR__ . '/..' . '/../lib/Lib/Backend/Swift.php',
89
-        'OCA\\Files_External\\Lib\\Config\\IAuthMechanismProvider' => __DIR__ . '/..' . '/../lib/Lib/Config/IAuthMechanismProvider.php',
90
-        'OCA\\Files_External\\Lib\\Config\\IBackendProvider' => __DIR__ . '/..' . '/../lib/Lib/Config/IBackendProvider.php',
91
-        'OCA\\Files_External\\Lib\\DefinitionParameter' => __DIR__ . '/..' . '/../lib/Lib/DefinitionParameter.php',
92
-        'OCA\\Files_External\\Lib\\DependencyTrait' => __DIR__ . '/..' . '/../lib/Lib/DependencyTrait.php',
93
-        'OCA\\Files_External\\Lib\\FrontendDefinitionTrait' => __DIR__ . '/..' . '/../lib/Lib/FrontendDefinitionTrait.php',
94
-        'OCA\\Files_External\\Lib\\IFrontendDefinition' => __DIR__ . '/..' . '/../lib/Lib/IFrontendDefinition.php',
95
-        'OCA\\Files_External\\Lib\\IIdentifier' => __DIR__ . '/..' . '/../lib/Lib/IIdentifier.php',
96
-        'OCA\\Files_External\\Lib\\IdentifierTrait' => __DIR__ . '/..' . '/../lib/Lib/IdentifierTrait.php',
97
-        'OCA\\Files_External\\Lib\\InsufficientDataForMeaningfulAnswerException' => __DIR__ . '/..' . '/../lib/Lib/InsufficientDataForMeaningfulAnswerException.php',
98
-        'OCA\\Files_External\\Lib\\LegacyDependencyCheckPolyfill' => __DIR__ . '/..' . '/../lib/Lib/LegacyDependencyCheckPolyfill.php',
99
-        'OCA\\Files_External\\Lib\\MissingDependency' => __DIR__ . '/..' . '/../lib/Lib/MissingDependency.php',
100
-        'OCA\\Files_External\\Lib\\Notify\\SMBNotifyHandler' => __DIR__ . '/..' . '/../lib/Lib/Notify/SMBNotifyHandler.php',
101
-        'OCA\\Files_External\\Lib\\PersonalMount' => __DIR__ . '/..' . '/../lib/Lib/PersonalMount.php',
102
-        'OCA\\Files_External\\Lib\\PriorityTrait' => __DIR__ . '/..' . '/../lib/Lib/PriorityTrait.php',
103
-        'OCA\\Files_External\\Lib\\SessionStorageWrapper' => __DIR__ . '/..' . '/../lib/Lib/SessionStorageWrapper.php',
104
-        'OCA\\Files_External\\Lib\\StorageConfig' => __DIR__ . '/..' . '/../lib/Lib/StorageConfig.php',
105
-        'OCA\\Files_External\\Lib\\StorageModifierTrait' => __DIR__ . '/..' . '/../lib/Lib/StorageModifierTrait.php',
106
-        'OCA\\Files_External\\Lib\\Storage\\AmazonS3' => __DIR__ . '/..' . '/../lib/Lib/Storage/AmazonS3.php',
107
-        'OCA\\Files_External\\Lib\\Storage\\FTP' => __DIR__ . '/..' . '/../lib/Lib/Storage/FTP.php',
108
-        'OCA\\Files_External\\Lib\\Storage\\FtpConnection' => __DIR__ . '/..' . '/../lib/Lib/Storage/FtpConnection.php',
109
-        'OCA\\Files_External\\Lib\\Storage\\OwnCloud' => __DIR__ . '/..' . '/../lib/Lib/Storage/OwnCloud.php',
110
-        'OCA\\Files_External\\Lib\\Storage\\SFTP' => __DIR__ . '/..' . '/../lib/Lib/Storage/SFTP.php',
111
-        'OCA\\Files_External\\Lib\\Storage\\SFTPReadStream' => __DIR__ . '/..' . '/../lib/Lib/Storage/SFTPReadStream.php',
112
-        'OCA\\Files_External\\Lib\\Storage\\SFTPWriteStream' => __DIR__ . '/..' . '/../lib/Lib/Storage/SFTPWriteStream.php',
113
-        'OCA\\Files_External\\Lib\\Storage\\SMB' => __DIR__ . '/..' . '/../lib/Lib/Storage/SMB.php',
114
-        'OCA\\Files_External\\Lib\\Storage\\StreamWrapper' => __DIR__ . '/..' . '/../lib/Lib/Storage/StreamWrapper.php',
115
-        'OCA\\Files_External\\Lib\\Storage\\Swift' => __DIR__ . '/..' . '/../lib/Lib/Storage/Swift.php',
116
-        'OCA\\Files_External\\Lib\\Storage\\SystemBridge' => __DIR__ . '/..' . '/../lib/Lib/Storage/SystemBridge.php',
117
-        'OCA\\Files_External\\Lib\\VisibilityTrait' => __DIR__ . '/..' . '/../lib/Lib/VisibilityTrait.php',
118
-        'OCA\\Files_External\\Listener\\GroupDeletedListener' => __DIR__ . '/..' . '/../lib/Listener/GroupDeletedListener.php',
119
-        'OCA\\Files_External\\Listener\\LoadAdditionalListener' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalListener.php',
120
-        'OCA\\Files_External\\Listener\\StorePasswordListener' => __DIR__ . '/..' . '/../lib/Listener/StorePasswordListener.php',
121
-        'OCA\\Files_External\\Listener\\UserDeletedListener' => __DIR__ . '/..' . '/../lib/Listener/UserDeletedListener.php',
122
-        'OCA\\Files_External\\Migration\\DummyUserSession' => __DIR__ . '/..' . '/../lib/Migration/DummyUserSession.php',
123
-        'OCA\\Files_External\\Migration\\Version1011Date20200630192246' => __DIR__ . '/..' . '/../lib/Migration/Version1011Date20200630192246.php',
124
-        'OCA\\Files_External\\Migration\\Version1015Date20211104103506' => __DIR__ . '/..' . '/../lib/Migration/Version1015Date20211104103506.php',
125
-        'OCA\\Files_External\\Migration\\Version1016Date20220324154536' => __DIR__ . '/..' . '/../lib/Migration/Version1016Date20220324154536.php',
126
-        'OCA\\Files_External\\Migration\\Version22000Date20210216084416' => __DIR__ . '/..' . '/../lib/Migration/Version22000Date20210216084416.php',
127
-        'OCA\\Files_External\\MountConfig' => __DIR__ . '/..' . '/../lib/MountConfig.php',
128
-        'OCA\\Files_External\\NotFoundException' => __DIR__ . '/..' . '/../lib/NotFoundException.php',
129
-        'OCA\\Files_External\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php',
130
-        'OCA\\Files_External\\Service\\BackendService' => __DIR__ . '/..' . '/../lib/Service/BackendService.php',
131
-        'OCA\\Files_External\\Service\\DBConfigService' => __DIR__ . '/..' . '/../lib/Service/DBConfigService.php',
132
-        'OCA\\Files_External\\Service\\GlobalStoragesService' => __DIR__ . '/..' . '/../lib/Service/GlobalStoragesService.php',
133
-        'OCA\\Files_External\\Service\\ImportLegacyStoragesService' => __DIR__ . '/..' . '/../lib/Service/ImportLegacyStoragesService.php',
134
-        'OCA\\Files_External\\Service\\LegacyStoragesService' => __DIR__ . '/..' . '/../lib/Service/LegacyStoragesService.php',
135
-        'OCA\\Files_External\\Service\\StoragesService' => __DIR__ . '/..' . '/../lib/Service/StoragesService.php',
136
-        'OCA\\Files_External\\Service\\UserGlobalStoragesService' => __DIR__ . '/..' . '/../lib/Service/UserGlobalStoragesService.php',
137
-        'OCA\\Files_External\\Service\\UserStoragesService' => __DIR__ . '/..' . '/../lib/Service/UserStoragesService.php',
138
-        'OCA\\Files_External\\Service\\UserTrait' => __DIR__ . '/..' . '/../lib/Service/UserTrait.php',
139
-        'OCA\\Files_External\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
140
-        'OCA\\Files_External\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
141
-        'OCA\\Files_External\\Settings\\PersonalSection' => __DIR__ . '/..' . '/../lib/Settings/PersonalSection.php',
142
-        'OCA\\Files_External\\Settings\\Section' => __DIR__ . '/..' . '/../lib/Settings/Section.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\Files_External\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
26
+        'OCA\\Files_External\\BackgroundJob\\CredentialsCleanup' => __DIR__.'/..'.'/../lib/BackgroundJob/CredentialsCleanup.php',
27
+        'OCA\\Files_External\\Command\\Applicable' => __DIR__.'/..'.'/../lib/Command/Applicable.php',
28
+        'OCA\\Files_External\\Command\\Backends' => __DIR__.'/..'.'/../lib/Command/Backends.php',
29
+        'OCA\\Files_External\\Command\\Config' => __DIR__.'/..'.'/../lib/Command/Config.php',
30
+        'OCA\\Files_External\\Command\\Create' => __DIR__.'/..'.'/../lib/Command/Create.php',
31
+        'OCA\\Files_External\\Command\\Delete' => __DIR__.'/..'.'/../lib/Command/Delete.php',
32
+        'OCA\\Files_External\\Command\\Dependencies' => __DIR__.'/..'.'/../lib/Command/Dependencies.php',
33
+        'OCA\\Files_External\\Command\\Export' => __DIR__.'/..'.'/../lib/Command/Export.php',
34
+        'OCA\\Files_External\\Command\\Import' => __DIR__.'/..'.'/../lib/Command/Import.php',
35
+        'OCA\\Files_External\\Command\\ListCommand' => __DIR__.'/..'.'/../lib/Command/ListCommand.php',
36
+        'OCA\\Files_External\\Command\\Notify' => __DIR__.'/..'.'/../lib/Command/Notify.php',
37
+        'OCA\\Files_External\\Command\\Option' => __DIR__.'/..'.'/../lib/Command/Option.php',
38
+        'OCA\\Files_External\\Command\\Scan' => __DIR__.'/..'.'/../lib/Command/Scan.php',
39
+        'OCA\\Files_External\\Command\\StorageAuthBase' => __DIR__.'/..'.'/../lib/Command/StorageAuthBase.php',
40
+        'OCA\\Files_External\\Command\\Verify' => __DIR__.'/..'.'/../lib/Command/Verify.php',
41
+        'OCA\\Files_External\\ConfigLexicon' => __DIR__.'/..'.'/../lib/ConfigLexicon.php',
42
+        'OCA\\Files_External\\Config\\ConfigAdapter' => __DIR__.'/..'.'/../lib/Config/ConfigAdapter.php',
43
+        'OCA\\Files_External\\Config\\ExternalMountPoint' => __DIR__.'/..'.'/../lib/Config/ExternalMountPoint.php',
44
+        'OCA\\Files_External\\Config\\IConfigHandler' => __DIR__.'/..'.'/../lib/Config/IConfigHandler.php',
45
+        'OCA\\Files_External\\Config\\SimpleSubstitutionTrait' => __DIR__.'/..'.'/../lib/Config/SimpleSubstitutionTrait.php',
46
+        'OCA\\Files_External\\Config\\SystemMountPoint' => __DIR__.'/..'.'/../lib/Config/SystemMountPoint.php',
47
+        'OCA\\Files_External\\Config\\UserContext' => __DIR__.'/..'.'/../lib/Config/UserContext.php',
48
+        'OCA\\Files_External\\Config\\UserPlaceholderHandler' => __DIR__.'/..'.'/../lib/Config/UserPlaceholderHandler.php',
49
+        'OCA\\Files_External\\Controller\\AjaxController' => __DIR__.'/..'.'/../lib/Controller/AjaxController.php',
50
+        'OCA\\Files_External\\Controller\\ApiController' => __DIR__.'/..'.'/../lib/Controller/ApiController.php',
51
+        'OCA\\Files_External\\Controller\\GlobalStoragesController' => __DIR__.'/..'.'/../lib/Controller/GlobalStoragesController.php',
52
+        'OCA\\Files_External\\Controller\\StoragesController' => __DIR__.'/..'.'/../lib/Controller/StoragesController.php',
53
+        'OCA\\Files_External\\Controller\\UserGlobalStoragesController' => __DIR__.'/..'.'/../lib/Controller/UserGlobalStoragesController.php',
54
+        'OCA\\Files_External\\Controller\\UserStoragesController' => __DIR__.'/..'.'/../lib/Controller/UserStoragesController.php',
55
+        'OCA\\Files_External\\Lib\\Auth\\AmazonS3\\AccessKey' => __DIR__.'/..'.'/../lib/Lib/Auth/AmazonS3/AccessKey.php',
56
+        'OCA\\Files_External\\Lib\\Auth\\AuthMechanism' => __DIR__.'/..'.'/../lib/Lib/Auth/AuthMechanism.php',
57
+        'OCA\\Files_External\\Lib\\Auth\\Builtin' => __DIR__.'/..'.'/../lib/Lib/Auth/Builtin.php',
58
+        'OCA\\Files_External\\Lib\\Auth\\IUserProvided' => __DIR__.'/..'.'/../lib/Lib/Auth/IUserProvided.php',
59
+        'OCA\\Files_External\\Lib\\Auth\\InvalidAuth' => __DIR__.'/..'.'/../lib/Lib/Auth/InvalidAuth.php',
60
+        'OCA\\Files_External\\Lib\\Auth\\NullMechanism' => __DIR__.'/..'.'/../lib/Lib/Auth/NullMechanism.php',
61
+        'OCA\\Files_External\\Lib\\Auth\\OAuth1\\OAuth1' => __DIR__.'/..'.'/../lib/Lib/Auth/OAuth1/OAuth1.php',
62
+        'OCA\\Files_External\\Lib\\Auth\\OAuth2\\OAuth2' => __DIR__.'/..'.'/../lib/Lib/Auth/OAuth2/OAuth2.php',
63
+        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV2' => __DIR__.'/..'.'/../lib/Lib/Auth/OpenStack/OpenStackV2.php',
64
+        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV3' => __DIR__.'/..'.'/../lib/Lib/Auth/OpenStack/OpenStackV3.php',
65
+        'OCA\\Files_External\\Lib\\Auth\\OpenStack\\Rackspace' => __DIR__.'/..'.'/../lib/Lib/Auth/OpenStack/Rackspace.php',
66
+        'OCA\\Files_External\\Lib\\Auth\\Password\\GlobalAuth' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/GlobalAuth.php',
67
+        'OCA\\Files_External\\Lib\\Auth\\Password\\LoginCredentials' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/LoginCredentials.php',
68
+        'OCA\\Files_External\\Lib\\Auth\\Password\\Password' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/Password.php',
69
+        'OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/SessionCredentials.php',
70
+        'OCA\\Files_External\\Lib\\Auth\\Password\\UserGlobalAuth' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/UserGlobalAuth.php',
71
+        'OCA\\Files_External\\Lib\\Auth\\Password\\UserProvided' => __DIR__.'/..'.'/../lib/Lib/Auth/Password/UserProvided.php',
72
+        'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSA' => __DIR__.'/..'.'/../lib/Lib/Auth/PublicKey/RSA.php',
73
+        'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSAPrivateKey' => __DIR__.'/..'.'/../lib/Lib/Auth/PublicKey/RSAPrivateKey.php',
74
+        'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosApacheAuth' => __DIR__.'/..'.'/../lib/Lib/Auth/SMB/KerberosApacheAuth.php',
75
+        'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosAuth' => __DIR__.'/..'.'/../lib/Lib/Auth/SMB/KerberosAuth.php',
76
+        'OCA\\Files_External\\Lib\\Backend\\AmazonS3' => __DIR__.'/..'.'/../lib/Lib/Backend/AmazonS3.php',
77
+        'OCA\\Files_External\\Lib\\Backend\\Backend' => __DIR__.'/..'.'/../lib/Lib/Backend/Backend.php',
78
+        'OCA\\Files_External\\Lib\\Backend\\DAV' => __DIR__.'/..'.'/../lib/Lib/Backend/DAV.php',
79
+        'OCA\\Files_External\\Lib\\Backend\\FTP' => __DIR__.'/..'.'/../lib/Lib/Backend/FTP.php',
80
+        'OCA\\Files_External\\Lib\\Backend\\InvalidBackend' => __DIR__.'/..'.'/../lib/Lib/Backend/InvalidBackend.php',
81
+        'OCA\\Files_External\\Lib\\Backend\\LegacyBackend' => __DIR__.'/..'.'/../lib/Lib/Backend/LegacyBackend.php',
82
+        'OCA\\Files_External\\Lib\\Backend\\Local' => __DIR__.'/..'.'/../lib/Lib/Backend/Local.php',
83
+        'OCA\\Files_External\\Lib\\Backend\\OwnCloud' => __DIR__.'/..'.'/../lib/Lib/Backend/OwnCloud.php',
84
+        'OCA\\Files_External\\Lib\\Backend\\SFTP' => __DIR__.'/..'.'/../lib/Lib/Backend/SFTP.php',
85
+        'OCA\\Files_External\\Lib\\Backend\\SFTP_Key' => __DIR__.'/..'.'/../lib/Lib/Backend/SFTP_Key.php',
86
+        'OCA\\Files_External\\Lib\\Backend\\SMB' => __DIR__.'/..'.'/../lib/Lib/Backend/SMB.php',
87
+        'OCA\\Files_External\\Lib\\Backend\\SMB_OC' => __DIR__.'/..'.'/../lib/Lib/Backend/SMB_OC.php',
88
+        'OCA\\Files_External\\Lib\\Backend\\Swift' => __DIR__.'/..'.'/../lib/Lib/Backend/Swift.php',
89
+        'OCA\\Files_External\\Lib\\Config\\IAuthMechanismProvider' => __DIR__.'/..'.'/../lib/Lib/Config/IAuthMechanismProvider.php',
90
+        'OCA\\Files_External\\Lib\\Config\\IBackendProvider' => __DIR__.'/..'.'/../lib/Lib/Config/IBackendProvider.php',
91
+        'OCA\\Files_External\\Lib\\DefinitionParameter' => __DIR__.'/..'.'/../lib/Lib/DefinitionParameter.php',
92
+        'OCA\\Files_External\\Lib\\DependencyTrait' => __DIR__.'/..'.'/../lib/Lib/DependencyTrait.php',
93
+        'OCA\\Files_External\\Lib\\FrontendDefinitionTrait' => __DIR__.'/..'.'/../lib/Lib/FrontendDefinitionTrait.php',
94
+        'OCA\\Files_External\\Lib\\IFrontendDefinition' => __DIR__.'/..'.'/../lib/Lib/IFrontendDefinition.php',
95
+        'OCA\\Files_External\\Lib\\IIdentifier' => __DIR__.'/..'.'/../lib/Lib/IIdentifier.php',
96
+        'OCA\\Files_External\\Lib\\IdentifierTrait' => __DIR__.'/..'.'/../lib/Lib/IdentifierTrait.php',
97
+        'OCA\\Files_External\\Lib\\InsufficientDataForMeaningfulAnswerException' => __DIR__.'/..'.'/../lib/Lib/InsufficientDataForMeaningfulAnswerException.php',
98
+        'OCA\\Files_External\\Lib\\LegacyDependencyCheckPolyfill' => __DIR__.'/..'.'/../lib/Lib/LegacyDependencyCheckPolyfill.php',
99
+        'OCA\\Files_External\\Lib\\MissingDependency' => __DIR__.'/..'.'/../lib/Lib/MissingDependency.php',
100
+        'OCA\\Files_External\\Lib\\Notify\\SMBNotifyHandler' => __DIR__.'/..'.'/../lib/Lib/Notify/SMBNotifyHandler.php',
101
+        'OCA\\Files_External\\Lib\\PersonalMount' => __DIR__.'/..'.'/../lib/Lib/PersonalMount.php',
102
+        'OCA\\Files_External\\Lib\\PriorityTrait' => __DIR__.'/..'.'/../lib/Lib/PriorityTrait.php',
103
+        'OCA\\Files_External\\Lib\\SessionStorageWrapper' => __DIR__.'/..'.'/../lib/Lib/SessionStorageWrapper.php',
104
+        'OCA\\Files_External\\Lib\\StorageConfig' => __DIR__.'/..'.'/../lib/Lib/StorageConfig.php',
105
+        'OCA\\Files_External\\Lib\\StorageModifierTrait' => __DIR__.'/..'.'/../lib/Lib/StorageModifierTrait.php',
106
+        'OCA\\Files_External\\Lib\\Storage\\AmazonS3' => __DIR__.'/..'.'/../lib/Lib/Storage/AmazonS3.php',
107
+        'OCA\\Files_External\\Lib\\Storage\\FTP' => __DIR__.'/..'.'/../lib/Lib/Storage/FTP.php',
108
+        'OCA\\Files_External\\Lib\\Storage\\FtpConnection' => __DIR__.'/..'.'/../lib/Lib/Storage/FtpConnection.php',
109
+        'OCA\\Files_External\\Lib\\Storage\\OwnCloud' => __DIR__.'/..'.'/../lib/Lib/Storage/OwnCloud.php',
110
+        'OCA\\Files_External\\Lib\\Storage\\SFTP' => __DIR__.'/..'.'/../lib/Lib/Storage/SFTP.php',
111
+        'OCA\\Files_External\\Lib\\Storage\\SFTPReadStream' => __DIR__.'/..'.'/../lib/Lib/Storage/SFTPReadStream.php',
112
+        'OCA\\Files_External\\Lib\\Storage\\SFTPWriteStream' => __DIR__.'/..'.'/../lib/Lib/Storage/SFTPWriteStream.php',
113
+        'OCA\\Files_External\\Lib\\Storage\\SMB' => __DIR__.'/..'.'/../lib/Lib/Storage/SMB.php',
114
+        'OCA\\Files_External\\Lib\\Storage\\StreamWrapper' => __DIR__.'/..'.'/../lib/Lib/Storage/StreamWrapper.php',
115
+        'OCA\\Files_External\\Lib\\Storage\\Swift' => __DIR__.'/..'.'/../lib/Lib/Storage/Swift.php',
116
+        'OCA\\Files_External\\Lib\\Storage\\SystemBridge' => __DIR__.'/..'.'/../lib/Lib/Storage/SystemBridge.php',
117
+        'OCA\\Files_External\\Lib\\VisibilityTrait' => __DIR__.'/..'.'/../lib/Lib/VisibilityTrait.php',
118
+        'OCA\\Files_External\\Listener\\GroupDeletedListener' => __DIR__.'/..'.'/../lib/Listener/GroupDeletedListener.php',
119
+        'OCA\\Files_External\\Listener\\LoadAdditionalListener' => __DIR__.'/..'.'/../lib/Listener/LoadAdditionalListener.php',
120
+        'OCA\\Files_External\\Listener\\StorePasswordListener' => __DIR__.'/..'.'/../lib/Listener/StorePasswordListener.php',
121
+        'OCA\\Files_External\\Listener\\UserDeletedListener' => __DIR__.'/..'.'/../lib/Listener/UserDeletedListener.php',
122
+        'OCA\\Files_External\\Migration\\DummyUserSession' => __DIR__.'/..'.'/../lib/Migration/DummyUserSession.php',
123
+        'OCA\\Files_External\\Migration\\Version1011Date20200630192246' => __DIR__.'/..'.'/../lib/Migration/Version1011Date20200630192246.php',
124
+        'OCA\\Files_External\\Migration\\Version1015Date20211104103506' => __DIR__.'/..'.'/../lib/Migration/Version1015Date20211104103506.php',
125
+        'OCA\\Files_External\\Migration\\Version1016Date20220324154536' => __DIR__.'/..'.'/../lib/Migration/Version1016Date20220324154536.php',
126
+        'OCA\\Files_External\\Migration\\Version22000Date20210216084416' => __DIR__.'/..'.'/../lib/Migration/Version22000Date20210216084416.php',
127
+        'OCA\\Files_External\\MountConfig' => __DIR__.'/..'.'/../lib/MountConfig.php',
128
+        'OCA\\Files_External\\NotFoundException' => __DIR__.'/..'.'/../lib/NotFoundException.php',
129
+        'OCA\\Files_External\\ResponseDefinitions' => __DIR__.'/..'.'/../lib/ResponseDefinitions.php',
130
+        'OCA\\Files_External\\Service\\BackendService' => __DIR__.'/..'.'/../lib/Service/BackendService.php',
131
+        'OCA\\Files_External\\Service\\DBConfigService' => __DIR__.'/..'.'/../lib/Service/DBConfigService.php',
132
+        'OCA\\Files_External\\Service\\GlobalStoragesService' => __DIR__.'/..'.'/../lib/Service/GlobalStoragesService.php',
133
+        'OCA\\Files_External\\Service\\ImportLegacyStoragesService' => __DIR__.'/..'.'/../lib/Service/ImportLegacyStoragesService.php',
134
+        'OCA\\Files_External\\Service\\LegacyStoragesService' => __DIR__.'/..'.'/../lib/Service/LegacyStoragesService.php',
135
+        'OCA\\Files_External\\Service\\StoragesService' => __DIR__.'/..'.'/../lib/Service/StoragesService.php',
136
+        'OCA\\Files_External\\Service\\UserGlobalStoragesService' => __DIR__.'/..'.'/../lib/Service/UserGlobalStoragesService.php',
137
+        'OCA\\Files_External\\Service\\UserStoragesService' => __DIR__.'/..'.'/../lib/Service/UserStoragesService.php',
138
+        'OCA\\Files_External\\Service\\UserTrait' => __DIR__.'/..'.'/../lib/Service/UserTrait.php',
139
+        'OCA\\Files_External\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php',
140
+        'OCA\\Files_External\\Settings\\Personal' => __DIR__.'/..'.'/../lib/Settings/Personal.php',
141
+        'OCA\\Files_External\\Settings\\PersonalSection' => __DIR__.'/..'.'/../lib/Settings/PersonalSection.php',
142
+        'OCA\\Files_External\\Settings\\Section' => __DIR__.'/..'.'/../lib/Settings/Section.php',
143 143
     );
144 144
 
145 145
     public static function getInitializer(ClassLoader $loader)
146 146
     {
147
-        return \Closure::bind(function () use ($loader) {
147
+        return \Closure::bind(function() use ($loader) {
148 148
             $loader->prefixLengthsPsr4 = ComposerStaticInitFiles_External::$prefixLengthsPsr4;
149 149
             $loader->prefixDirsPsr4 = ComposerStaticInitFiles_External::$prefixDirsPsr4;
150 150
             $loader->classMap = ComposerStaticInitFiles_External::$classMap;
Please login to merge, or discard this patch.
apps/files_external/composer/composer/autoload_classmap.php 1 patch
Spacing   +119 added lines, -119 removed lines patch added patch discarded remove patch
@@ -6,123 +6,123 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\Files_External\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
11
-    'OCA\\Files_External\\BackgroundJob\\CredentialsCleanup' => $baseDir . '/../lib/BackgroundJob/CredentialsCleanup.php',
12
-    'OCA\\Files_External\\Command\\Applicable' => $baseDir . '/../lib/Command/Applicable.php',
13
-    'OCA\\Files_External\\Command\\Backends' => $baseDir . '/../lib/Command/Backends.php',
14
-    'OCA\\Files_External\\Command\\Config' => $baseDir . '/../lib/Command/Config.php',
15
-    'OCA\\Files_External\\Command\\Create' => $baseDir . '/../lib/Command/Create.php',
16
-    'OCA\\Files_External\\Command\\Delete' => $baseDir . '/../lib/Command/Delete.php',
17
-    'OCA\\Files_External\\Command\\Dependencies' => $baseDir . '/../lib/Command/Dependencies.php',
18
-    'OCA\\Files_External\\Command\\Export' => $baseDir . '/../lib/Command/Export.php',
19
-    'OCA\\Files_External\\Command\\Import' => $baseDir . '/../lib/Command/Import.php',
20
-    'OCA\\Files_External\\Command\\ListCommand' => $baseDir . '/../lib/Command/ListCommand.php',
21
-    'OCA\\Files_External\\Command\\Notify' => $baseDir . '/../lib/Command/Notify.php',
22
-    'OCA\\Files_External\\Command\\Option' => $baseDir . '/../lib/Command/Option.php',
23
-    'OCA\\Files_External\\Command\\Scan' => $baseDir . '/../lib/Command/Scan.php',
24
-    'OCA\\Files_External\\Command\\StorageAuthBase' => $baseDir . '/../lib/Command/StorageAuthBase.php',
25
-    'OCA\\Files_External\\Command\\Verify' => $baseDir . '/../lib/Command/Verify.php',
26
-    'OCA\\Files_External\\ConfigLexicon' => $baseDir . '/../lib/ConfigLexicon.php',
27
-    'OCA\\Files_External\\Config\\ConfigAdapter' => $baseDir . '/../lib/Config/ConfigAdapter.php',
28
-    'OCA\\Files_External\\Config\\ExternalMountPoint' => $baseDir . '/../lib/Config/ExternalMountPoint.php',
29
-    'OCA\\Files_External\\Config\\IConfigHandler' => $baseDir . '/../lib/Config/IConfigHandler.php',
30
-    'OCA\\Files_External\\Config\\SimpleSubstitutionTrait' => $baseDir . '/../lib/Config/SimpleSubstitutionTrait.php',
31
-    'OCA\\Files_External\\Config\\SystemMountPoint' => $baseDir . '/../lib/Config/SystemMountPoint.php',
32
-    'OCA\\Files_External\\Config\\UserContext' => $baseDir . '/../lib/Config/UserContext.php',
33
-    'OCA\\Files_External\\Config\\UserPlaceholderHandler' => $baseDir . '/../lib/Config/UserPlaceholderHandler.php',
34
-    'OCA\\Files_External\\Controller\\AjaxController' => $baseDir . '/../lib/Controller/AjaxController.php',
35
-    'OCA\\Files_External\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php',
36
-    'OCA\\Files_External\\Controller\\GlobalStoragesController' => $baseDir . '/../lib/Controller/GlobalStoragesController.php',
37
-    'OCA\\Files_External\\Controller\\StoragesController' => $baseDir . '/../lib/Controller/StoragesController.php',
38
-    'OCA\\Files_External\\Controller\\UserGlobalStoragesController' => $baseDir . '/../lib/Controller/UserGlobalStoragesController.php',
39
-    'OCA\\Files_External\\Controller\\UserStoragesController' => $baseDir . '/../lib/Controller/UserStoragesController.php',
40
-    'OCA\\Files_External\\Lib\\Auth\\AmazonS3\\AccessKey' => $baseDir . '/../lib/Lib/Auth/AmazonS3/AccessKey.php',
41
-    'OCA\\Files_External\\Lib\\Auth\\AuthMechanism' => $baseDir . '/../lib/Lib/Auth/AuthMechanism.php',
42
-    'OCA\\Files_External\\Lib\\Auth\\Builtin' => $baseDir . '/../lib/Lib/Auth/Builtin.php',
43
-    'OCA\\Files_External\\Lib\\Auth\\IUserProvided' => $baseDir . '/../lib/Lib/Auth/IUserProvided.php',
44
-    'OCA\\Files_External\\Lib\\Auth\\InvalidAuth' => $baseDir . '/../lib/Lib/Auth/InvalidAuth.php',
45
-    'OCA\\Files_External\\Lib\\Auth\\NullMechanism' => $baseDir . '/../lib/Lib/Auth/NullMechanism.php',
46
-    'OCA\\Files_External\\Lib\\Auth\\OAuth1\\OAuth1' => $baseDir . '/../lib/Lib/Auth/OAuth1/OAuth1.php',
47
-    'OCA\\Files_External\\Lib\\Auth\\OAuth2\\OAuth2' => $baseDir . '/../lib/Lib/Auth/OAuth2/OAuth2.php',
48
-    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV2' => $baseDir . '/../lib/Lib/Auth/OpenStack/OpenStackV2.php',
49
-    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV3' => $baseDir . '/../lib/Lib/Auth/OpenStack/OpenStackV3.php',
50
-    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\Rackspace' => $baseDir . '/../lib/Lib/Auth/OpenStack/Rackspace.php',
51
-    'OCA\\Files_External\\Lib\\Auth\\Password\\GlobalAuth' => $baseDir . '/../lib/Lib/Auth/Password/GlobalAuth.php',
52
-    'OCA\\Files_External\\Lib\\Auth\\Password\\LoginCredentials' => $baseDir . '/../lib/Lib/Auth/Password/LoginCredentials.php',
53
-    'OCA\\Files_External\\Lib\\Auth\\Password\\Password' => $baseDir . '/../lib/Lib/Auth/Password/Password.php',
54
-    'OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials' => $baseDir . '/../lib/Lib/Auth/Password/SessionCredentials.php',
55
-    'OCA\\Files_External\\Lib\\Auth\\Password\\UserGlobalAuth' => $baseDir . '/../lib/Lib/Auth/Password/UserGlobalAuth.php',
56
-    'OCA\\Files_External\\Lib\\Auth\\Password\\UserProvided' => $baseDir . '/../lib/Lib/Auth/Password/UserProvided.php',
57
-    'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSA' => $baseDir . '/../lib/Lib/Auth/PublicKey/RSA.php',
58
-    'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSAPrivateKey' => $baseDir . '/../lib/Lib/Auth/PublicKey/RSAPrivateKey.php',
59
-    'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosApacheAuth' => $baseDir . '/../lib/Lib/Auth/SMB/KerberosApacheAuth.php',
60
-    'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosAuth' => $baseDir . '/../lib/Lib/Auth/SMB/KerberosAuth.php',
61
-    'OCA\\Files_External\\Lib\\Backend\\AmazonS3' => $baseDir . '/../lib/Lib/Backend/AmazonS3.php',
62
-    'OCA\\Files_External\\Lib\\Backend\\Backend' => $baseDir . '/../lib/Lib/Backend/Backend.php',
63
-    'OCA\\Files_External\\Lib\\Backend\\DAV' => $baseDir . '/../lib/Lib/Backend/DAV.php',
64
-    'OCA\\Files_External\\Lib\\Backend\\FTP' => $baseDir . '/../lib/Lib/Backend/FTP.php',
65
-    'OCA\\Files_External\\Lib\\Backend\\InvalidBackend' => $baseDir . '/../lib/Lib/Backend/InvalidBackend.php',
66
-    'OCA\\Files_External\\Lib\\Backend\\LegacyBackend' => $baseDir . '/../lib/Lib/Backend/LegacyBackend.php',
67
-    'OCA\\Files_External\\Lib\\Backend\\Local' => $baseDir . '/../lib/Lib/Backend/Local.php',
68
-    'OCA\\Files_External\\Lib\\Backend\\OwnCloud' => $baseDir . '/../lib/Lib/Backend/OwnCloud.php',
69
-    'OCA\\Files_External\\Lib\\Backend\\SFTP' => $baseDir . '/../lib/Lib/Backend/SFTP.php',
70
-    'OCA\\Files_External\\Lib\\Backend\\SFTP_Key' => $baseDir . '/../lib/Lib/Backend/SFTP_Key.php',
71
-    'OCA\\Files_External\\Lib\\Backend\\SMB' => $baseDir . '/../lib/Lib/Backend/SMB.php',
72
-    'OCA\\Files_External\\Lib\\Backend\\SMB_OC' => $baseDir . '/../lib/Lib/Backend/SMB_OC.php',
73
-    'OCA\\Files_External\\Lib\\Backend\\Swift' => $baseDir . '/../lib/Lib/Backend/Swift.php',
74
-    'OCA\\Files_External\\Lib\\Config\\IAuthMechanismProvider' => $baseDir . '/../lib/Lib/Config/IAuthMechanismProvider.php',
75
-    'OCA\\Files_External\\Lib\\Config\\IBackendProvider' => $baseDir . '/../lib/Lib/Config/IBackendProvider.php',
76
-    'OCA\\Files_External\\Lib\\DefinitionParameter' => $baseDir . '/../lib/Lib/DefinitionParameter.php',
77
-    'OCA\\Files_External\\Lib\\DependencyTrait' => $baseDir . '/../lib/Lib/DependencyTrait.php',
78
-    'OCA\\Files_External\\Lib\\FrontendDefinitionTrait' => $baseDir . '/../lib/Lib/FrontendDefinitionTrait.php',
79
-    'OCA\\Files_External\\Lib\\IFrontendDefinition' => $baseDir . '/../lib/Lib/IFrontendDefinition.php',
80
-    'OCA\\Files_External\\Lib\\IIdentifier' => $baseDir . '/../lib/Lib/IIdentifier.php',
81
-    'OCA\\Files_External\\Lib\\IdentifierTrait' => $baseDir . '/../lib/Lib/IdentifierTrait.php',
82
-    'OCA\\Files_External\\Lib\\InsufficientDataForMeaningfulAnswerException' => $baseDir . '/../lib/Lib/InsufficientDataForMeaningfulAnswerException.php',
83
-    'OCA\\Files_External\\Lib\\LegacyDependencyCheckPolyfill' => $baseDir . '/../lib/Lib/LegacyDependencyCheckPolyfill.php',
84
-    'OCA\\Files_External\\Lib\\MissingDependency' => $baseDir . '/../lib/Lib/MissingDependency.php',
85
-    'OCA\\Files_External\\Lib\\Notify\\SMBNotifyHandler' => $baseDir . '/../lib/Lib/Notify/SMBNotifyHandler.php',
86
-    'OCA\\Files_External\\Lib\\PersonalMount' => $baseDir . '/../lib/Lib/PersonalMount.php',
87
-    'OCA\\Files_External\\Lib\\PriorityTrait' => $baseDir . '/../lib/Lib/PriorityTrait.php',
88
-    'OCA\\Files_External\\Lib\\SessionStorageWrapper' => $baseDir . '/../lib/Lib/SessionStorageWrapper.php',
89
-    'OCA\\Files_External\\Lib\\StorageConfig' => $baseDir . '/../lib/Lib/StorageConfig.php',
90
-    'OCA\\Files_External\\Lib\\StorageModifierTrait' => $baseDir . '/../lib/Lib/StorageModifierTrait.php',
91
-    'OCA\\Files_External\\Lib\\Storage\\AmazonS3' => $baseDir . '/../lib/Lib/Storage/AmazonS3.php',
92
-    'OCA\\Files_External\\Lib\\Storage\\FTP' => $baseDir . '/../lib/Lib/Storage/FTP.php',
93
-    'OCA\\Files_External\\Lib\\Storage\\FtpConnection' => $baseDir . '/../lib/Lib/Storage/FtpConnection.php',
94
-    'OCA\\Files_External\\Lib\\Storage\\OwnCloud' => $baseDir . '/../lib/Lib/Storage/OwnCloud.php',
95
-    'OCA\\Files_External\\Lib\\Storage\\SFTP' => $baseDir . '/../lib/Lib/Storage/SFTP.php',
96
-    'OCA\\Files_External\\Lib\\Storage\\SFTPReadStream' => $baseDir . '/../lib/Lib/Storage/SFTPReadStream.php',
97
-    'OCA\\Files_External\\Lib\\Storage\\SFTPWriteStream' => $baseDir . '/../lib/Lib/Storage/SFTPWriteStream.php',
98
-    'OCA\\Files_External\\Lib\\Storage\\SMB' => $baseDir . '/../lib/Lib/Storage/SMB.php',
99
-    'OCA\\Files_External\\Lib\\Storage\\StreamWrapper' => $baseDir . '/../lib/Lib/Storage/StreamWrapper.php',
100
-    'OCA\\Files_External\\Lib\\Storage\\Swift' => $baseDir . '/../lib/Lib/Storage/Swift.php',
101
-    'OCA\\Files_External\\Lib\\Storage\\SystemBridge' => $baseDir . '/../lib/Lib/Storage/SystemBridge.php',
102
-    'OCA\\Files_External\\Lib\\VisibilityTrait' => $baseDir . '/../lib/Lib/VisibilityTrait.php',
103
-    'OCA\\Files_External\\Listener\\GroupDeletedListener' => $baseDir . '/../lib/Listener/GroupDeletedListener.php',
104
-    'OCA\\Files_External\\Listener\\LoadAdditionalListener' => $baseDir . '/../lib/Listener/LoadAdditionalListener.php',
105
-    'OCA\\Files_External\\Listener\\StorePasswordListener' => $baseDir . '/../lib/Listener/StorePasswordListener.php',
106
-    'OCA\\Files_External\\Listener\\UserDeletedListener' => $baseDir . '/../lib/Listener/UserDeletedListener.php',
107
-    'OCA\\Files_External\\Migration\\DummyUserSession' => $baseDir . '/../lib/Migration/DummyUserSession.php',
108
-    'OCA\\Files_External\\Migration\\Version1011Date20200630192246' => $baseDir . '/../lib/Migration/Version1011Date20200630192246.php',
109
-    'OCA\\Files_External\\Migration\\Version1015Date20211104103506' => $baseDir . '/../lib/Migration/Version1015Date20211104103506.php',
110
-    'OCA\\Files_External\\Migration\\Version1016Date20220324154536' => $baseDir . '/../lib/Migration/Version1016Date20220324154536.php',
111
-    'OCA\\Files_External\\Migration\\Version22000Date20210216084416' => $baseDir . '/../lib/Migration/Version22000Date20210216084416.php',
112
-    'OCA\\Files_External\\MountConfig' => $baseDir . '/../lib/MountConfig.php',
113
-    'OCA\\Files_External\\NotFoundException' => $baseDir . '/../lib/NotFoundException.php',
114
-    'OCA\\Files_External\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php',
115
-    'OCA\\Files_External\\Service\\BackendService' => $baseDir . '/../lib/Service/BackendService.php',
116
-    'OCA\\Files_External\\Service\\DBConfigService' => $baseDir . '/../lib/Service/DBConfigService.php',
117
-    'OCA\\Files_External\\Service\\GlobalStoragesService' => $baseDir . '/../lib/Service/GlobalStoragesService.php',
118
-    'OCA\\Files_External\\Service\\ImportLegacyStoragesService' => $baseDir . '/../lib/Service/ImportLegacyStoragesService.php',
119
-    'OCA\\Files_External\\Service\\LegacyStoragesService' => $baseDir . '/../lib/Service/LegacyStoragesService.php',
120
-    'OCA\\Files_External\\Service\\StoragesService' => $baseDir . '/../lib/Service/StoragesService.php',
121
-    'OCA\\Files_External\\Service\\UserGlobalStoragesService' => $baseDir . '/../lib/Service/UserGlobalStoragesService.php',
122
-    'OCA\\Files_External\\Service\\UserStoragesService' => $baseDir . '/../lib/Service/UserStoragesService.php',
123
-    'OCA\\Files_External\\Service\\UserTrait' => $baseDir . '/../lib/Service/UserTrait.php',
124
-    'OCA\\Files_External\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php',
125
-    'OCA\\Files_External\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php',
126
-    'OCA\\Files_External\\Settings\\PersonalSection' => $baseDir . '/../lib/Settings/PersonalSection.php',
127
-    'OCA\\Files_External\\Settings\\Section' => $baseDir . '/../lib/Settings/Section.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\Files_External\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
11
+    'OCA\\Files_External\\BackgroundJob\\CredentialsCleanup' => $baseDir.'/../lib/BackgroundJob/CredentialsCleanup.php',
12
+    'OCA\\Files_External\\Command\\Applicable' => $baseDir.'/../lib/Command/Applicable.php',
13
+    'OCA\\Files_External\\Command\\Backends' => $baseDir.'/../lib/Command/Backends.php',
14
+    'OCA\\Files_External\\Command\\Config' => $baseDir.'/../lib/Command/Config.php',
15
+    'OCA\\Files_External\\Command\\Create' => $baseDir.'/../lib/Command/Create.php',
16
+    'OCA\\Files_External\\Command\\Delete' => $baseDir.'/../lib/Command/Delete.php',
17
+    'OCA\\Files_External\\Command\\Dependencies' => $baseDir.'/../lib/Command/Dependencies.php',
18
+    'OCA\\Files_External\\Command\\Export' => $baseDir.'/../lib/Command/Export.php',
19
+    'OCA\\Files_External\\Command\\Import' => $baseDir.'/../lib/Command/Import.php',
20
+    'OCA\\Files_External\\Command\\ListCommand' => $baseDir.'/../lib/Command/ListCommand.php',
21
+    'OCA\\Files_External\\Command\\Notify' => $baseDir.'/../lib/Command/Notify.php',
22
+    'OCA\\Files_External\\Command\\Option' => $baseDir.'/../lib/Command/Option.php',
23
+    'OCA\\Files_External\\Command\\Scan' => $baseDir.'/../lib/Command/Scan.php',
24
+    'OCA\\Files_External\\Command\\StorageAuthBase' => $baseDir.'/../lib/Command/StorageAuthBase.php',
25
+    'OCA\\Files_External\\Command\\Verify' => $baseDir.'/../lib/Command/Verify.php',
26
+    'OCA\\Files_External\\ConfigLexicon' => $baseDir.'/../lib/ConfigLexicon.php',
27
+    'OCA\\Files_External\\Config\\ConfigAdapter' => $baseDir.'/../lib/Config/ConfigAdapter.php',
28
+    'OCA\\Files_External\\Config\\ExternalMountPoint' => $baseDir.'/../lib/Config/ExternalMountPoint.php',
29
+    'OCA\\Files_External\\Config\\IConfigHandler' => $baseDir.'/../lib/Config/IConfigHandler.php',
30
+    'OCA\\Files_External\\Config\\SimpleSubstitutionTrait' => $baseDir.'/../lib/Config/SimpleSubstitutionTrait.php',
31
+    'OCA\\Files_External\\Config\\SystemMountPoint' => $baseDir.'/../lib/Config/SystemMountPoint.php',
32
+    'OCA\\Files_External\\Config\\UserContext' => $baseDir.'/../lib/Config/UserContext.php',
33
+    'OCA\\Files_External\\Config\\UserPlaceholderHandler' => $baseDir.'/../lib/Config/UserPlaceholderHandler.php',
34
+    'OCA\\Files_External\\Controller\\AjaxController' => $baseDir.'/../lib/Controller/AjaxController.php',
35
+    'OCA\\Files_External\\Controller\\ApiController' => $baseDir.'/../lib/Controller/ApiController.php',
36
+    'OCA\\Files_External\\Controller\\GlobalStoragesController' => $baseDir.'/../lib/Controller/GlobalStoragesController.php',
37
+    'OCA\\Files_External\\Controller\\StoragesController' => $baseDir.'/../lib/Controller/StoragesController.php',
38
+    'OCA\\Files_External\\Controller\\UserGlobalStoragesController' => $baseDir.'/../lib/Controller/UserGlobalStoragesController.php',
39
+    'OCA\\Files_External\\Controller\\UserStoragesController' => $baseDir.'/../lib/Controller/UserStoragesController.php',
40
+    'OCA\\Files_External\\Lib\\Auth\\AmazonS3\\AccessKey' => $baseDir.'/../lib/Lib/Auth/AmazonS3/AccessKey.php',
41
+    'OCA\\Files_External\\Lib\\Auth\\AuthMechanism' => $baseDir.'/../lib/Lib/Auth/AuthMechanism.php',
42
+    'OCA\\Files_External\\Lib\\Auth\\Builtin' => $baseDir.'/../lib/Lib/Auth/Builtin.php',
43
+    'OCA\\Files_External\\Lib\\Auth\\IUserProvided' => $baseDir.'/../lib/Lib/Auth/IUserProvided.php',
44
+    'OCA\\Files_External\\Lib\\Auth\\InvalidAuth' => $baseDir.'/../lib/Lib/Auth/InvalidAuth.php',
45
+    'OCA\\Files_External\\Lib\\Auth\\NullMechanism' => $baseDir.'/../lib/Lib/Auth/NullMechanism.php',
46
+    'OCA\\Files_External\\Lib\\Auth\\OAuth1\\OAuth1' => $baseDir.'/../lib/Lib/Auth/OAuth1/OAuth1.php',
47
+    'OCA\\Files_External\\Lib\\Auth\\OAuth2\\OAuth2' => $baseDir.'/../lib/Lib/Auth/OAuth2/OAuth2.php',
48
+    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV2' => $baseDir.'/../lib/Lib/Auth/OpenStack/OpenStackV2.php',
49
+    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\OpenStackV3' => $baseDir.'/../lib/Lib/Auth/OpenStack/OpenStackV3.php',
50
+    'OCA\\Files_External\\Lib\\Auth\\OpenStack\\Rackspace' => $baseDir.'/../lib/Lib/Auth/OpenStack/Rackspace.php',
51
+    'OCA\\Files_External\\Lib\\Auth\\Password\\GlobalAuth' => $baseDir.'/../lib/Lib/Auth/Password/GlobalAuth.php',
52
+    'OCA\\Files_External\\Lib\\Auth\\Password\\LoginCredentials' => $baseDir.'/../lib/Lib/Auth/Password/LoginCredentials.php',
53
+    'OCA\\Files_External\\Lib\\Auth\\Password\\Password' => $baseDir.'/../lib/Lib/Auth/Password/Password.php',
54
+    'OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials' => $baseDir.'/../lib/Lib/Auth/Password/SessionCredentials.php',
55
+    'OCA\\Files_External\\Lib\\Auth\\Password\\UserGlobalAuth' => $baseDir.'/../lib/Lib/Auth/Password/UserGlobalAuth.php',
56
+    'OCA\\Files_External\\Lib\\Auth\\Password\\UserProvided' => $baseDir.'/../lib/Lib/Auth/Password/UserProvided.php',
57
+    'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSA' => $baseDir.'/../lib/Lib/Auth/PublicKey/RSA.php',
58
+    'OCA\\Files_External\\Lib\\Auth\\PublicKey\\RSAPrivateKey' => $baseDir.'/../lib/Lib/Auth/PublicKey/RSAPrivateKey.php',
59
+    'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosApacheAuth' => $baseDir.'/../lib/Lib/Auth/SMB/KerberosApacheAuth.php',
60
+    'OCA\\Files_External\\Lib\\Auth\\SMB\\KerberosAuth' => $baseDir.'/../lib/Lib/Auth/SMB/KerberosAuth.php',
61
+    'OCA\\Files_External\\Lib\\Backend\\AmazonS3' => $baseDir.'/../lib/Lib/Backend/AmazonS3.php',
62
+    'OCA\\Files_External\\Lib\\Backend\\Backend' => $baseDir.'/../lib/Lib/Backend/Backend.php',
63
+    'OCA\\Files_External\\Lib\\Backend\\DAV' => $baseDir.'/../lib/Lib/Backend/DAV.php',
64
+    'OCA\\Files_External\\Lib\\Backend\\FTP' => $baseDir.'/../lib/Lib/Backend/FTP.php',
65
+    'OCA\\Files_External\\Lib\\Backend\\InvalidBackend' => $baseDir.'/../lib/Lib/Backend/InvalidBackend.php',
66
+    'OCA\\Files_External\\Lib\\Backend\\LegacyBackend' => $baseDir.'/../lib/Lib/Backend/LegacyBackend.php',
67
+    'OCA\\Files_External\\Lib\\Backend\\Local' => $baseDir.'/../lib/Lib/Backend/Local.php',
68
+    'OCA\\Files_External\\Lib\\Backend\\OwnCloud' => $baseDir.'/../lib/Lib/Backend/OwnCloud.php',
69
+    'OCA\\Files_External\\Lib\\Backend\\SFTP' => $baseDir.'/../lib/Lib/Backend/SFTP.php',
70
+    'OCA\\Files_External\\Lib\\Backend\\SFTP_Key' => $baseDir.'/../lib/Lib/Backend/SFTP_Key.php',
71
+    'OCA\\Files_External\\Lib\\Backend\\SMB' => $baseDir.'/../lib/Lib/Backend/SMB.php',
72
+    'OCA\\Files_External\\Lib\\Backend\\SMB_OC' => $baseDir.'/../lib/Lib/Backend/SMB_OC.php',
73
+    'OCA\\Files_External\\Lib\\Backend\\Swift' => $baseDir.'/../lib/Lib/Backend/Swift.php',
74
+    'OCA\\Files_External\\Lib\\Config\\IAuthMechanismProvider' => $baseDir.'/../lib/Lib/Config/IAuthMechanismProvider.php',
75
+    'OCA\\Files_External\\Lib\\Config\\IBackendProvider' => $baseDir.'/../lib/Lib/Config/IBackendProvider.php',
76
+    'OCA\\Files_External\\Lib\\DefinitionParameter' => $baseDir.'/../lib/Lib/DefinitionParameter.php',
77
+    'OCA\\Files_External\\Lib\\DependencyTrait' => $baseDir.'/../lib/Lib/DependencyTrait.php',
78
+    'OCA\\Files_External\\Lib\\FrontendDefinitionTrait' => $baseDir.'/../lib/Lib/FrontendDefinitionTrait.php',
79
+    'OCA\\Files_External\\Lib\\IFrontendDefinition' => $baseDir.'/../lib/Lib/IFrontendDefinition.php',
80
+    'OCA\\Files_External\\Lib\\IIdentifier' => $baseDir.'/../lib/Lib/IIdentifier.php',
81
+    'OCA\\Files_External\\Lib\\IdentifierTrait' => $baseDir.'/../lib/Lib/IdentifierTrait.php',
82
+    'OCA\\Files_External\\Lib\\InsufficientDataForMeaningfulAnswerException' => $baseDir.'/../lib/Lib/InsufficientDataForMeaningfulAnswerException.php',
83
+    'OCA\\Files_External\\Lib\\LegacyDependencyCheckPolyfill' => $baseDir.'/../lib/Lib/LegacyDependencyCheckPolyfill.php',
84
+    'OCA\\Files_External\\Lib\\MissingDependency' => $baseDir.'/../lib/Lib/MissingDependency.php',
85
+    'OCA\\Files_External\\Lib\\Notify\\SMBNotifyHandler' => $baseDir.'/../lib/Lib/Notify/SMBNotifyHandler.php',
86
+    'OCA\\Files_External\\Lib\\PersonalMount' => $baseDir.'/../lib/Lib/PersonalMount.php',
87
+    'OCA\\Files_External\\Lib\\PriorityTrait' => $baseDir.'/../lib/Lib/PriorityTrait.php',
88
+    'OCA\\Files_External\\Lib\\SessionStorageWrapper' => $baseDir.'/../lib/Lib/SessionStorageWrapper.php',
89
+    'OCA\\Files_External\\Lib\\StorageConfig' => $baseDir.'/../lib/Lib/StorageConfig.php',
90
+    'OCA\\Files_External\\Lib\\StorageModifierTrait' => $baseDir.'/../lib/Lib/StorageModifierTrait.php',
91
+    'OCA\\Files_External\\Lib\\Storage\\AmazonS3' => $baseDir.'/../lib/Lib/Storage/AmazonS3.php',
92
+    'OCA\\Files_External\\Lib\\Storage\\FTP' => $baseDir.'/../lib/Lib/Storage/FTP.php',
93
+    'OCA\\Files_External\\Lib\\Storage\\FtpConnection' => $baseDir.'/../lib/Lib/Storage/FtpConnection.php',
94
+    'OCA\\Files_External\\Lib\\Storage\\OwnCloud' => $baseDir.'/../lib/Lib/Storage/OwnCloud.php',
95
+    'OCA\\Files_External\\Lib\\Storage\\SFTP' => $baseDir.'/../lib/Lib/Storage/SFTP.php',
96
+    'OCA\\Files_External\\Lib\\Storage\\SFTPReadStream' => $baseDir.'/../lib/Lib/Storage/SFTPReadStream.php',
97
+    'OCA\\Files_External\\Lib\\Storage\\SFTPWriteStream' => $baseDir.'/../lib/Lib/Storage/SFTPWriteStream.php',
98
+    'OCA\\Files_External\\Lib\\Storage\\SMB' => $baseDir.'/../lib/Lib/Storage/SMB.php',
99
+    'OCA\\Files_External\\Lib\\Storage\\StreamWrapper' => $baseDir.'/../lib/Lib/Storage/StreamWrapper.php',
100
+    'OCA\\Files_External\\Lib\\Storage\\Swift' => $baseDir.'/../lib/Lib/Storage/Swift.php',
101
+    'OCA\\Files_External\\Lib\\Storage\\SystemBridge' => $baseDir.'/../lib/Lib/Storage/SystemBridge.php',
102
+    'OCA\\Files_External\\Lib\\VisibilityTrait' => $baseDir.'/../lib/Lib/VisibilityTrait.php',
103
+    'OCA\\Files_External\\Listener\\GroupDeletedListener' => $baseDir.'/../lib/Listener/GroupDeletedListener.php',
104
+    'OCA\\Files_External\\Listener\\LoadAdditionalListener' => $baseDir.'/../lib/Listener/LoadAdditionalListener.php',
105
+    'OCA\\Files_External\\Listener\\StorePasswordListener' => $baseDir.'/../lib/Listener/StorePasswordListener.php',
106
+    'OCA\\Files_External\\Listener\\UserDeletedListener' => $baseDir.'/../lib/Listener/UserDeletedListener.php',
107
+    'OCA\\Files_External\\Migration\\DummyUserSession' => $baseDir.'/../lib/Migration/DummyUserSession.php',
108
+    'OCA\\Files_External\\Migration\\Version1011Date20200630192246' => $baseDir.'/../lib/Migration/Version1011Date20200630192246.php',
109
+    'OCA\\Files_External\\Migration\\Version1015Date20211104103506' => $baseDir.'/../lib/Migration/Version1015Date20211104103506.php',
110
+    'OCA\\Files_External\\Migration\\Version1016Date20220324154536' => $baseDir.'/../lib/Migration/Version1016Date20220324154536.php',
111
+    'OCA\\Files_External\\Migration\\Version22000Date20210216084416' => $baseDir.'/../lib/Migration/Version22000Date20210216084416.php',
112
+    'OCA\\Files_External\\MountConfig' => $baseDir.'/../lib/MountConfig.php',
113
+    'OCA\\Files_External\\NotFoundException' => $baseDir.'/../lib/NotFoundException.php',
114
+    'OCA\\Files_External\\ResponseDefinitions' => $baseDir.'/../lib/ResponseDefinitions.php',
115
+    'OCA\\Files_External\\Service\\BackendService' => $baseDir.'/../lib/Service/BackendService.php',
116
+    'OCA\\Files_External\\Service\\DBConfigService' => $baseDir.'/../lib/Service/DBConfigService.php',
117
+    'OCA\\Files_External\\Service\\GlobalStoragesService' => $baseDir.'/../lib/Service/GlobalStoragesService.php',
118
+    'OCA\\Files_External\\Service\\ImportLegacyStoragesService' => $baseDir.'/../lib/Service/ImportLegacyStoragesService.php',
119
+    'OCA\\Files_External\\Service\\LegacyStoragesService' => $baseDir.'/../lib/Service/LegacyStoragesService.php',
120
+    'OCA\\Files_External\\Service\\StoragesService' => $baseDir.'/../lib/Service/StoragesService.php',
121
+    'OCA\\Files_External\\Service\\UserGlobalStoragesService' => $baseDir.'/../lib/Service/UserGlobalStoragesService.php',
122
+    'OCA\\Files_External\\Service\\UserStoragesService' => $baseDir.'/../lib/Service/UserStoragesService.php',
123
+    'OCA\\Files_External\\Service\\UserTrait' => $baseDir.'/../lib/Service/UserTrait.php',
124
+    'OCA\\Files_External\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php',
125
+    'OCA\\Files_External\\Settings\\Personal' => $baseDir.'/../lib/Settings/Personal.php',
126
+    'OCA\\Files_External\\Settings\\PersonalSection' => $baseDir.'/../lib/Settings/PersonalSection.php',
127
+    'OCA\\Files_External\\Settings\\Section' => $baseDir.'/../lib/Settings/Section.php',
128 128
 );
Please login to merge, or discard this patch.