From 6d7a1b9bd42637bd3cd1b1307082f010ab8b11ba Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 13 May 2016 11:38:52 +0200 Subject: [PATCH] Move Lib\Auth to PSR-4 --- .../amazons3/accesskey.php => Lib/Auth/AmazonS3/AccessKey.php} | 0 .../lib/{auth/authmechanism.php => Lib/Auth/AuthMechanism.php} | 0 .../lib/{auth/builtin.php => Lib/Auth/Builtin.php} | 0 .../lib/{auth/iuserprovided.php => Lib/Auth/IUserProvided.php} | 0 .../lib/{auth/nullmechanism.php => Lib/Auth/NullMechanism.php} | 1 - .../lib/{auth/oauth1/oauth1.php => Lib/Auth/OAuth1/OAuth1.php} | 0 .../lib/{auth/oauth2/oauth2.php => Lib/Auth/OAuth2/OAuth2.php} | 0 .../openstack/openstack.php => Lib/Auth/OpenStack/OpenStack.php} | 0 .../openstack/rackspace.php => Lib/Auth/OpenStack/Rackspace.php} | 0 .../password/password.php => Lib/Auth/Password/Password.php} | 0 .../Auth/Password/SessionCredentials.php} | 0 .../lib/{auth/publickey/rsa.php => Lib/Auth/PublicKey/RSA.php} | 0 .../{auth/authmechanismtest.php => Auth/AuthMechanismTest.php} | 0 13 files changed, 1 deletion(-) rename apps/files_external/lib/{auth/amazons3/accesskey.php => Lib/Auth/AmazonS3/AccessKey.php} (100%) rename apps/files_external/lib/{auth/authmechanism.php => Lib/Auth/AuthMechanism.php} (100%) rename apps/files_external/lib/{auth/builtin.php => Lib/Auth/Builtin.php} (100%) rename apps/files_external/lib/{auth/iuserprovided.php => Lib/Auth/IUserProvided.php} (100%) rename apps/files_external/lib/{auth/nullmechanism.php => Lib/Auth/NullMechanism.php} (95%) rename apps/files_external/lib/{auth/oauth1/oauth1.php => Lib/Auth/OAuth1/OAuth1.php} (100%) rename apps/files_external/lib/{auth/oauth2/oauth2.php => Lib/Auth/OAuth2/OAuth2.php} (100%) rename apps/files_external/lib/{auth/openstack/openstack.php => Lib/Auth/OpenStack/OpenStack.php} (100%) rename apps/files_external/lib/{auth/openstack/rackspace.php => Lib/Auth/OpenStack/Rackspace.php} (100%) rename apps/files_external/lib/{auth/password/password.php => Lib/Auth/Password/Password.php} (100%) rename apps/files_external/lib/{auth/password/sessioncredentials.php => Lib/Auth/Password/SessionCredentials.php} (100%) rename apps/files_external/lib/{auth/publickey/rsa.php => Lib/Auth/PublicKey/RSA.php} (100%) rename apps/files_external/tests/{auth/authmechanismtest.php => Auth/AuthMechanismTest.php} (100%) diff --git a/apps/files_external/lib/auth/amazons3/accesskey.php b/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php similarity index 100% rename from apps/files_external/lib/auth/amazons3/accesskey.php rename to apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php diff --git a/apps/files_external/lib/auth/authmechanism.php b/apps/files_external/lib/Lib/Auth/AuthMechanism.php similarity index 100% rename from apps/files_external/lib/auth/authmechanism.php rename to apps/files_external/lib/Lib/Auth/AuthMechanism.php diff --git a/apps/files_external/lib/auth/builtin.php b/apps/files_external/lib/Lib/Auth/Builtin.php similarity index 100% rename from apps/files_external/lib/auth/builtin.php rename to apps/files_external/lib/Lib/Auth/Builtin.php diff --git a/apps/files_external/lib/auth/iuserprovided.php b/apps/files_external/lib/Lib/Auth/IUserProvided.php similarity index 100% rename from apps/files_external/lib/auth/iuserprovided.php rename to apps/files_external/lib/Lib/Auth/IUserProvided.php diff --git a/apps/files_external/lib/auth/nullmechanism.php b/apps/files_external/lib/Lib/Auth/NullMechanism.php similarity index 95% rename from apps/files_external/lib/auth/nullmechanism.php rename to apps/files_external/lib/Lib/Auth/NullMechanism.php index 06083729e5..c0a8f4f119 100644 --- a/apps/files_external/lib/auth/nullmechanism.php +++ b/apps/files_external/lib/Lib/Auth/NullMechanism.php @@ -22,7 +22,6 @@ namespace OCA\Files_External\Lib\Auth; use \OCP\IL10N; -use \OCA\Files_External\Lib\Auth\AuthMechanism; use \OCA\Files_external\Lib\StorageConfig; /** diff --git a/apps/files_external/lib/auth/oauth1/oauth1.php b/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php similarity index 100% rename from apps/files_external/lib/auth/oauth1/oauth1.php rename to apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php diff --git a/apps/files_external/lib/auth/oauth2/oauth2.php b/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php similarity index 100% rename from apps/files_external/lib/auth/oauth2/oauth2.php rename to apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php diff --git a/apps/files_external/lib/auth/openstack/openstack.php b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStack.php similarity index 100% rename from apps/files_external/lib/auth/openstack/openstack.php rename to apps/files_external/lib/Lib/Auth/OpenStack/OpenStack.php diff --git a/apps/files_external/lib/auth/openstack/rackspace.php b/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php similarity index 100% rename from apps/files_external/lib/auth/openstack/rackspace.php rename to apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php diff --git a/apps/files_external/lib/auth/password/password.php b/apps/files_external/lib/Lib/Auth/Password/Password.php similarity index 100% rename from apps/files_external/lib/auth/password/password.php rename to apps/files_external/lib/Lib/Auth/Password/Password.php diff --git a/apps/files_external/lib/auth/password/sessioncredentials.php b/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php similarity index 100% rename from apps/files_external/lib/auth/password/sessioncredentials.php rename to apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php diff --git a/apps/files_external/lib/auth/publickey/rsa.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php similarity index 100% rename from apps/files_external/lib/auth/publickey/rsa.php rename to apps/files_external/lib/Lib/Auth/PublicKey/RSA.php diff --git a/apps/files_external/tests/auth/authmechanismtest.php b/apps/files_external/tests/Auth/AuthMechanismTest.php similarity index 100% rename from apps/files_external/tests/auth/authmechanismtest.php rename to apps/files_external/tests/Auth/AuthMechanismTest.php