Changeset 18c6d36 for lib/oauth2.h
- Timestamp:
- 2011-12-18T19:25:44Z (12 years ago)
- Branches:
- master
- Children:
- 64b6635
- Parents:
- 6e9ae72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/oauth2.h
r6e9ae72 r18c6d36 32 32 char *token_url; 33 33 char *redirect_url; 34 char *scope; 34 35 char *consumer_key; 35 36 char *consumer_secret; 36 37 }; 37 38 /* Currently suitable for authenticating to Google Talk only, and only for39 accounts that have 2-factor authorization enabled. */40 extern struct oauth2_service oauth2_service_google;41 42 extern struct oauth2_service oauth2_service_facebook;43 38 44 39 #define OAUTH2_AUTH_CODE "authorization_code" … … 47 42 /* Generate a URL the user should open in his/her browser to get an 48 43 authorization code. */ 49 char *oauth2_url( const struct oauth2_service *sp , const char *scope);44 char *oauth2_url( const struct oauth2_service *sp ); 50 45 51 46 /* Exchanges an auth code or refresh token for an access token.
Note: See TracChangeset
for help on using the changeset viewer.