aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-02-14 15:08:52 +0100
committerRobin Appelman <robin@icewind.nl>2018-02-26 14:54:08 +0100
commit31dd6d6aaea1bc6f5d710934fa890957080d279d (patch)
treef26bdaccea833b274d98e694da0c8b466a390d76 /apps/files_external/lib/AppInfo/Application.php
parent4d380d21b55f0f8928014b9212f3ae727f6bfcc9 (diff)
downloadnextcloud-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/AppInfo/Application.php')
-rw-r--r--apps/files_external/lib/AppInfo/Application.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php
index e037b9b34e5..f312e065114 100644
--- a/apps/files_external/lib/AppInfo/Application.php
+++ b/apps/files_external/lib/AppInfo/Application.php
@@ -36,7 +36,8 @@ use \OCA\Files_External\Lib\Config\IBackendProvider;
use \OCA\Files_External\Lib\Config\IAuthMechanismProvider;
use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey;
use OCA\Files_External\Lib\Auth\OpenStack\Rackspace;
-use OCA\Files_External\Lib\Auth\OpenStack\OpenStack;
+use OCA\Files_External\Lib\Auth\OpenStack\OpenStackV2;
+use OCA\Files_External\Lib\Auth\OpenStack\OpenStackV3;
use OCA\Files_External\Lib\Auth\PublicKey\RSA;
use OCA\Files_External\Lib\Auth\OAuth2\OAuth2;
use OCA\Files_External\Lib\Auth\OAuth1\OAuth1;
@@ -139,7 +140,8 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
$container->query(RSA::class),
// AuthMechanism::SCHEME_OPENSTACK mechanisms
- $container->query(OpenStack::class),
+ $container->query(OpenStackV2::class),
+ $container->query(OpenStackV3::class),
$container->query(Rackspace::class),
// Specialized mechanisms