After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661062 - No way to get client-id from a GoaAccount
No way to get client-id from a GoaAccount
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on: 652544
Blocks:
 
 
Reported: 2011-10-06 09:32 UTC by Xavier Claessens
Modified: 2011-10-08 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GoaOAuth2Based: Add ClientId and ClientSecret properties (1.87 KB, patch)
2011-10-07 19:08 UTC, Xavier Claessens
reviewed Details | Review
GoaOAuth2Based: Add ClientId and ClientSecret properties (2.50 KB, patch)
2011-10-07 19:21 UTC, Xavier Claessens
accepted-commit_now Details | Review

Description Xavier Claessens 2011-10-06 09:32:36 UTC
For facebook XMPP auth, we need the client-id used to get the oauth2 access-token. GoaAccount should explose it in its DBus API.
Comment 2 Xavier Claessens 2011-10-07 19:08:26 UTC
Created attachment 198562 [details] [review]
GoaOAuth2Based: Add ClientId and ClientSecret properties
Comment 3 David Zeuthen (not reading bugmail) 2011-10-07 19:11:29 UTC
Review of attachment 198562 [details] [review]:

Looks good except that it's missing additions to the doc/goa-sections.txt file. Good to commit with that change. Thanks!
Comment 4 David Zeuthen (not reading bugmail) 2011-10-07 19:12:44 UTC
(In reply to comment #3)
> Review of attachment 198562 [details] [review]:
> 
> Looks good except that it's missing additions to the doc/goa-sections.txt file.
> Good to commit with that change. Thanks!

(That's be, set_, get_ and dup_ for each added property, btw.)
Comment 5 Xavier Claessens 2011-10-07 19:21:33 UTC
Created attachment 198565 [details] [review]
GoaOAuth2Based: Add ClientId and ClientSecret properties
Comment 6 David Zeuthen (not reading bugmail) 2011-10-07 19:24:57 UTC
Comment on attachment 198565 [details] [review]
GoaOAuth2Based: Add ClientId and ClientSecret properties

OK. This assumes that client_id and client_secret are both UTF-8 strings but IIRC this is OK. If it turns out to not to be true we can always change it to 'ay' later. Please commit. Thanks.
Comment 7 Xavier Claessens 2011-10-08 20:23:04 UTC
merged.