aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth.h
Commit message (Collapse)AuthorAgeLines
* Reindent everything to K&R style with tabsIndent2015-02-20-25/+22
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* When updating the XMPP password field with OAuth data, try harder to preserveWilmer van der Gaast2011-12-19-0/+1
| | | | | existing data. (Like refresh tokens which we'll need again on next login.)
* Export oauth_params_parse().Wilmer van der Gaast2011-07-31-0/+1
|
* Working OAuth2 support. Needs some more debugging (error handling is notWilmer van der Gaast2011-07-26-0/+3
| | | | | great and imc_logout() gets (rightfully) confused when jabber_data is empty).
* Twitter: Warn the user if the OAuth username and the configured usernameWilmer van der Gaast2011-03-07-0/+4
| | | | | | don't match. This is not a real problem but can be confusing if you don't expect it.
* OAuth sanity fix: Twitter-specific stuff should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-02-5/+21
|\ | | | | | | | | Somewhat intrusive, should've done this right immediately. :-/
| * Save the credentials again.Wilmer van der Gaast2010-05-01-0/+4
| |
| * Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-01-5/+17
|/ | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
* Valgrind cleanup.Wilmer van der Gaast2010-04-27-3/+9
|
* OAuth, it lives!Wilmer van der Gaast2010-04-26-0/+9
|
* Twitter module now generates authorize URLs.Wilmer van der Gaast2010-04-26-1/+1
|
* Moving two public OAuth functions into the header file.Wilmer van der Gaast2010-04-26-0/+35
|
* Successfully posted a tweet!Wilmer van der Gaast2010-04-26-0/+2
| | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
* Code to calculate OAuth signatures. I hope that after wrapping my mindWilmer van der Gaast2010-04-25-0/+22
around all of this the rest is going to be easier..