summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/application.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-12 22:09:20 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-25 00:22:10 +0100
commit88a78237b01bae66786f9c32f30b936240ea6f58 (patch)
treeb97b4dfabf734df257a25c5aff9e6f3f001b0e6c /apps/files_external/appinfo/application.php
parenta50ef618761ae3588d00e55c39451cba75672e7f (diff)
downloadnextcloud-server-88a78237b01bae66786f9c32f30b936240ea6f58.tar.gz
nextcloud-server-88a78237b01bae66786f9c32f30b936240ea6f58.zip
Migrate Google external storage to new API
Diffstat (limited to 'apps/files_external/appinfo/application.php')
-rw-r--r--apps/files_external/appinfo/application.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/application.php b/apps/files_external/appinfo/application.php
index 4a9a7a6b827..1e43c737408 100644
--- a/apps/files_external/appinfo/application.php
+++ b/apps/files_external/appinfo/application.php
@@ -67,6 +67,7 @@ class Application extends App {
$container->query('OCA\Files_External\Lib\Backend\SFTP'),
$container->query('OCA\Files_External\Lib\Backend\AmazonS3'),
$container->query('OCA\Files_External\Lib\Backend\Dropbox'),
+ $container->query('OCA\Files_External\Lib\Backend\Google'),
]);
if (!\OC_Util::runningOnWindows()) {
@@ -97,6 +98,9 @@ class Application extends App {
// AuthMechanism::SCHEME_OAUTH1 mechanisms
$container->query('OCA\Files_External\Lib\Auth\OAuth1\OAuth1'),
+ // AuthMechanism::SCHEME_OAUTH2 mechanisms
+ $container->query('OCA\Files_External\Lib\Auth\OAuth2\OAuth2'),
+
// Specialized mechanisms
$container->query('OCA\Files_External\Lib\Auth\AmazonS3\AccessKey'),
]);