aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-18 22:56:44 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-18 22:56:44 +0100
commit64b663524a465efb7707a2c634be97b9fb6f963b (patch)
treed9f7aea9f8e75a4f00de06a1965eaad16581cd2f /protocols/jabber/jabber.h
parent18c6d369d777a1d38ef450f868c22de1d0ebba2d (diff)
Restructured and updated code a little bit to support new-style (much better
and "proper" OAuth2) Facebook OAuth support. (And, add wl.offline scope to get tokens that don't expire after an hour.)
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index 0a46633e..57f01695 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -326,6 +326,7 @@ gboolean sasl_supported( struct im_connection *ic );
void sasl_oauth2_init( struct im_connection *ic );
int sasl_oauth2_get_refresh_token( struct im_connection *ic, const char *msg );
int sasl_oauth2_refresh( struct im_connection *ic, const char *refresh_token );
+int sasl_oauth2_load_access_token( struct im_connection *ic );
extern const struct oauth2_service oauth2_service_google;
extern const struct oauth2_service oauth2_service_facebook;