aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oauth2.h')
-rw-r--r--lib/oauth2.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/oauth2.h b/lib/oauth2.h
index 657a0ab3..6f56b426 100644
--- a/lib/oauth2.h
+++ b/lib/oauth2.h
@@ -28,7 +28,9 @@ typedef void (*oauth2_token_callback)( gpointer data, const char *atoken, const
struct oauth2_service
{
- char *base_url;
+ char *auth_url;
+ char *token_url;
+ char *redirect_url;
char *consumer_key;
char *consumer_secret;
};
@@ -37,6 +39,8 @@ struct oauth2_service
accounts that have 2-factor authorization enabled. */
extern struct oauth2_service oauth2_service_google;
+extern struct oauth2_service oauth2_service_facebook;
+
#define OAUTH2_AUTH_CODE "authorization_code"
#define OAUTH2_AUTH_REFRESH "refresh_token"