Merge lp:~mardy/account-plugins/google-refresh-qml into lp:account-plugins

Proposed by Alberto Mardegan
Status: Merged
Approved by: Ken VanDine
Approved revision: 121
Merged at revision: 121
Proposed branch: lp:~mardy/account-plugins/google-refresh-qml
Merge into: lp:account-plugins
Diff against target: 28 lines (+10/-0)
2 files modified
debian/changelog (+6/-0)
qml/google/Main.qml (+4/-0)
To merge this branch: bzr merge lp:~mardy/account-plugins/google-refresh-qml
Reviewer Review Type Date Requested Status
Ken VanDine Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+171523@code.launchpad.net

Commit message

QML: ask Google for a refresh token.

Description of the change

QML: ask Google for a refresh token.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ken VanDine (ken-vandine) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-06-25 04:31:07 +0000
+++ debian/changelog 2013-06-26 11:56:28 +0000
@@ -1,3 +1,9 @@
1account-plugins (0.11daily13.06.25-0ubuntu2) UNRELEASED; urgency=low
2
3 * QML: ask Google for a refresh token.
4
5 -- Alberto Mardegan <alberto.mardegan@canonical.com> Wed, 26 Jun 2013 14:53:35 +0300
6
1account-plugins (0.11daily13.06.25-0ubuntu1) saucy; urgency=low7account-plugins (0.11daily13.06.25-0ubuntu1) saucy; urgency=low
28
3 [ Didier Roche ]9 [ Didier Roche ]
410
=== modified file 'qml/google/Main.qml'
--- qml/google/Main.qml 2013-06-07 11:56:25 +0000
+++ qml/google/Main.qml 2013-06-26 11:56:28 +0000
@@ -2,6 +2,10 @@
22
3OAuthMain {3OAuthMain {
4 creationComponent: OAuth {4 creationComponent: OAuth {
5 authenticationParameters: {
6 "AuthPath": "o/oauth2/auth?access_type=offline&approval_prompt=force"
7 }
8
5 function completeCreation(reply) {9 function completeCreation(reply) {
6 console.log("Access token: " + reply.AccessToken)10 console.log("Access token: " + reply.AccessToken)
7 var http = new XMLHttpRequest()11 var http = new XMLHttpRequest()

Subscribers

People subscribed via source and target branches