[gnome-online-accounts] google: Add the Drive v2 scope



commit dee5736d90bc69d1664e66ef2ec5475c473b0c99
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon May 4 16:31:27 2015 +0200

    google: Add the Drive v2 scope

 README                             |    2 +-
 src/goabackend/goagoogleprovider.c |    8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/README b/README
index df7d884..aeb4503 100644
--- a/README
+++ b/README
@@ -43,7 +43,7 @@ Scopes:
 https://developers.google.com/accounts/docs/OAuth2Login
 https://developers.google.com/google-apps/calendar/auth
 https://developers.google.com/google-apps/contacts/v3/
-https://developers.google.com/google-apps/documents-list/
+https://developers.google.com/drive/web/scopes
 https://developers.google.com/google-apps/gmail/oauth_protocol
 https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol
 https://developers.google.com/talk/jep_extensions/oauth
diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c
index cf6d041..9045923 100644
--- a/src/goabackend/goagoogleprovider.c
+++ b/src/goabackend/goagoogleprovider.c
@@ -1,6 +1,6 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
- * Copyright (C) 2011, 2012, 2013, 2014 Red Hat, Inc.
+ * Copyright (C) 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -132,8 +132,10 @@ get_scope (GoaOAuth2Provider *provider)
          /* Google Contacts API (CardDAV) - undocumented */
          "https://www.googleapis.com/auth/carddav "
 
+         /* Google Drive API */
+         "https://www.googleapis.com/auth/drive "
+
          /* Google Documents List Data API */
-         "https://docs.google.com/feeds/ "
          "https://docs.googleusercontent.com/ "
          "https://spreadsheets.google.com/feeds/ "
 
@@ -156,7 +158,7 @@ get_scope (GoaOAuth2Provider *provider)
 static guint
 get_credentials_generation (GoaProvider *provider)
 {
-  return 9;
+  return 10;
 }
 
 static const gchar *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]