google: Add EGDataOAuth2Authorizer.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 31 Dec 2012 03:12:19 +0000 (22:12 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 31 Dec 2012 15:38:59 +0000 (10:38 -0500)
commit79f3c3ff3206511ed0a6e9245a6fabd2b5310945
treedd32555db49e7d19483f6aefa78a5f7be4ac427a
parent0d22086e7145e544a814764f690f2dd65b352ffb
google: Add EGDataOAuth2Authorizer.

This will eventually replace EGDataGoaAuthorizer once we require
GNOME Online Accounts 3.8.  It obtains an OAuth 2.0 access token
using e_source_get_oauth2_access_token_sync() and avoid a direct
dependency on GNOME Online Accounts (or similar frameworks).

E-D-S 3.8 will still support older versions of GNOME Online Accounts,
which use OAuth 1.0a for Google authentication.  So the earliest that
EGDataGoaAuthorizer will die is E-D-S 3.9.1.
addressbook/backends/google/Makefile.am
addressbook/backends/google/e-book-backend-google.c
addressbook/backends/google/e-gdata-goa-authorizer.c
addressbook/backends/google/e-gdata-oauth2-authorizer.c [new file with mode: 0644]
addressbook/backends/google/e-gdata-oauth2-authorizer.h [new file with mode: 0644]