diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-07-31 15:55:00 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-07-31 15:55:00 +0100 |
commit | 39a939ce4ef6717d65c36c97e6a7adf05b125cad (patch) | |
tree | 0522ac97b078445177a02fa581134d8203f6fa33 /lib/oauth2.h | |
parent | aa9f1acec3f941cbb6b9fa716db1e775e88005c2 (diff) |
oauth2 changes to address http://twitter.com/Wilmer/status/96715400124968960
Diffstat (limited to 'lib/oauth2.h')
-rw-r--r-- | lib/oauth2.h | 6 |
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" |