aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/sasl.c
Commit message (Collapse)AuthorAgeLines
* A few more minor cleanups before merging this into mainline.Wilmer van der Gaast2011-12-26-9/+9
|
* Slight cleanup: Use a constant instead of just "jabber_oauth" everywhere,Wilmer van der Gaast2011-12-24-5/+5
| | | | | | and added some safeguards to keep the user from messaging it when we're not actually doing OAuth setup.
* Fix parsing of acc->pass. Use oauth_params_ functions instead of stringWilmer van der Gaast2011-12-21-12/+0
| | | | | magic, fixes escaping issues.
* When updating the XMPP password field with OAuth data, try harder to preserveWilmer van der Gaast2011-12-19-13/+11
| | | | | existing data. (Like refresh tokens which we'll need again on next login.)
* Give a list of SASL mechanisms supported by a server when reporting we don'tWilmer van der Gaast2011-12-19-1/+17
| | | | | support any of them.
* Restructured and updated code a little bit to support new-style (much betterWilmer van der Gaast2011-12-18-26/+21
| | | | | | and "proper" OAuth2) Facebook OAuth support. (And, add wl.offline scope to get tokens that don't expire after an hour.)
* More generic OAuth support now. Should work well for all GTalk accounts nowWilmer van der Gaast2011-12-18-17/+57
| | | | | | and somewhat for MS Messenger. The fb part needs different parsing of the authorize request, and possibly some other work.
* Error handling fixes.Wilmer van der Gaast2011-08-04-1/+2
| | | | | | Found one double free() bug causing troubles when a buddy_msg() handler takes down the IM connection immediately.
* OAuth code cleanup.Wilmer van der Gaast2011-07-31-18/+21
|
* Facebook authentication. This isn't really OAuth in the end: FB doesn'tWilmer van der Gaast2011-07-31-2/+49
| | | | | | really support desktop app OAuth in a way that would work with BitlBee. Plus, it's only OAuth-compliant by, err, name?
* Working OAuth2 support. Needs some more debugging (error handling is notWilmer van der Gaast2011-07-26-6/+105
| | | | | great and imc_logout() gets (rightfully) confused when jabber_data is empty).
* Nothing useful yet, this just generates an auth URL. Things to do: AbilityWilmer van der Gaast2011-07-22-3/+14
| | | | | | | | | | to process the answer. This is hard because the GTalk server will time out very quickly which means we lose our state/scope/etc. (And the ability to even receive the answer, at least if I'd do this the same way the Twitter module does it.) And then, get the access token and use it, of course. :-)
* Improved sasl_get_part() to deal with whitespace in challenge strings, asWilmer van der Gaast2008-02-16-7/+20
| | | | | described in RFC 2831 secion 7.1 (the #rule description). Closes bug #362.
* Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-1/+1
|
* Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-3/+4
|
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-7/+7
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.
* Cleaned up struct im_connection. No more username/password stuff sinceWilmer van der Gaast2007-04-15-5/+7
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-10/+10
| | | | | | | | do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-24/+24
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Added #defines for XML namespaces.Wilmer van der Gaast2006-10-31-6/+4
|
* Added a useful error message for SASL negotiation failures and turned offWilmer van der Gaast2006-10-02-0/+1
| | | | | the little hack in jabber_write() for now because it breaks error handling.
* The SASL DIGEST-MD5 handler now doesn't barf on challenges without a realmWilmer van der Gaast2006-10-02-1/+7
| | | | | (jabber.org likes to do this).
* Implemented support for SASL DIGEST-MD5 authentication.Wilmer van der Gaast2006-09-23-2/+179
|
* Better detection of successful IQ authentication (using packet caching),Wilmer van der Gaast2006-09-22-2/+8
| | | | | properly working SASL authentication (although only PLAIN so far).
* Fixed return value on incomplete write()s in write handler, protectionWilmer van der Gaast2006-09-22-0/+20
| | | | | | | against write()ing to sockets that are closed already, hopefully sane detection for SASL support, and only sending type=unavailable presence tag to logged in sessions.
* Basic SASL (PLAIN only ATM) authentication code. Doesn't log in completelyWilmer van der Gaast2006-09-22-0/+124
yet.