[Pkg-owncloud-commits] [owncloud-doc] 12/43: Changes related to Google Drive SDK migration
David Prévot
taffit at alioth.debian.org
Tue Aug 20 11:56:08 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch dfsg_clean
in repository owncloud-doc.
commit b166cd31d9e08f0ac3211d739446216552b3225d
Author: Victor Dubiniuk <victor.dubiniuk at gmail.com>
Date: Sat Aug 3 19:09:45 2013 +0300
Changes related to Google Drive SDK migration
---
admin_manual/configuration/custom_mount_config.rst | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/admin_manual/configuration/custom_mount_config.rst b/admin_manual/configuration/custom_mount_config.rst
index 69909e2..41ee2e2 100644
--- a/admin_manual/configuration/custom_mount_config.rst
+++ b/admin_manual/configuration/custom_mount_config.rst
@@ -275,13 +275,15 @@ Google Drive
The Google Drive backend mounts a share in the Google cloud into the virtual
filesystem and is part of the ‘External storage support’ app, the class to
-be used is **\\OC\\Files\\Storage\\Google**\ and is done via an OAuth request
-and takes the following options:
+be used is **\\OC\\Files\\Storage\\Google**\ and is done via an OAuth2.0 request.
+That means that the App must be registered through the Google APIs Console.
+The result of the registration process is a set of values (incl. client_id, client_secret).
+It takes the following options:
- **configured**: whether the drive has been configured or not (true or false)
-- **token**: the OAuth token to login to the Google drive
-- **token_secret**: the OAuth secret to login to the Google drive
-
+- **client_id**: the client id to login to the Google drive
+- **client_secret**: the client secret to login to the Google drive
+- **token**: a compound value including access and refresh tokens
Example
^^^^^^^
@@ -291,8 +293,9 @@ Example
{ "class":"\\OC\\Files\\Storage\\Google",
"options":{
"configured":"#configured",
- "token":"#token",
- "token_secret":"#token secret"
+ "client_id":"#client_id",
+ "client_secret":"#client_secret",
+ "token":"#token"
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list