ESource: Add get_oauth2_access_token_sync() class method.
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 28 Dec 2012 16:56:08 +0000 (11:56 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 31 Dec 2012 14:06:20 +0000 (09:06 -0500)
commitbbe9982babc7edc47387024476f5f562bc80ef10
tree51ce6f37cce360473ca96ea0bf0e8439f94753b6
parent841f8d77ef4428c9ff2109bc705bf0a51a3a518e
ESource: Add get_oauth2_access_token_sync() class method.

Obtains an access token and its expiry in seconds for data sources that
support OAuth 2.0.

This also adds corresponding asynchronous class methods.

New functions:

    e_source_get_oauth2_access_token_sync()
    e_source_get_oauth2_access_token()
    e_source_get_oauth2_access_token_finish()
docs/reference/libedataserver/libedataserver-sections.txt
libedataserver/e-source.c
libedataserver/e-source.h