diff options
author | Robin Appelman <robin@icewind.nl> | 2018-02-14 15:08:52 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-02-26 14:54:08 +0100 |
commit | 31dd6d6aaea1bc6f5d710934fa890957080d279d (patch) | |
tree | f26bdaccea833b274d98e694da0c8b466a390d76 /apps/files_external/lib/Lib/Backend | |
parent | 4d380d21b55f0f8928014b9212f3ae727f6bfcc9 (diff) | |
download | nextcloud-server-31dd6d6aaea1bc6f5d710934fa890957080d279d.tar.gz nextcloud-server-31dd6d6aaea1bc6f5d710934fa890957080d279d.zip |
add support for v3 swift auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib/Lib/Backend')
-rw-r--r-- | apps/files_external/lib/Lib/Backend/Swift.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/lib/Lib/Backend/Swift.php b/apps/files_external/lib/Lib/Backend/Swift.php index f2b694362f4..72fc236bcdc 100644 --- a/apps/files_external/lib/Lib/Backend/Swift.php +++ b/apps/files_external/lib/Lib/Backend/Swift.php @@ -25,7 +25,8 @@ namespace OCA\Files_External\Lib\Backend; use \OCP\IL10N; use \OCA\Files_External\Lib\DefinitionParameter; use \OCA\Files_External\Lib\Auth\AuthMechanism; -use \OCA\Files_External\Lib\Auth\OpenStack\OpenStack; +use \OCA\Files_External\Service\BackendService; +use \OCA\Files_External\Lib\Auth\OpenStack\OpenStackV2; use \OCA\Files_External\Lib\Auth\OpenStack\Rackspace; use \OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; @@ -33,7 +34,7 @@ class Swift extends Backend { use LegacyDependencyCheckPolyfill; - public function __construct(IL10N $l, OpenStack $openstackAuth, Rackspace $rackspaceAuth) { + public function __construct(IL10N $l, OpenStackV2 $openstackAuth, Rackspace $rackspaceAuth) { $this ->setIdentifier('swift') ->addIdentifierAlias('\OC\Files\Storage\Swift') // legacy compat |