Mercurial > pidgin
annotate PLUGIN_HOWTO @ 23476:9fdf0accd4aa
Finally got MSN token updating working (I think).
So it seems after creating the signature, the xmlnode_to_str must have
added some xmlns attributes which were sent to the server. I thought that
CanonicalizationMethod stuff the XML specified meant the server would
normalize everything nicely, but apparently not.
I added the xmlns to the XML string before creating the signature and
it looks like things work now. It just needs a full 8-hour test to be
certain.
Did a bit of re-factoring to the token response parsing, as well. It
should now fail the first time something shows up that isn't expected,
or if something is missing, instead of blindly going forward with half
the tokens we requested.
References #4875.
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Sun, 15 Jun 2008 06:22:25 +0000 |
| parents | 83ec0b408926 |
| children | db5a58aabe38 |
| rev | line source |
|---|---|
| 15934 | 1 For information on writing a plugin for Purple, Pidgin or Finch, go |
|
16176
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15934
diff
changeset
|
2 http://developer.pidgin.im and click on API. From there, see the HOWTOs in the |
|
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15934
diff
changeset
|
3 "Related Pages" section. |
| 14505 | 4 |
| 5 You can also generate this documentation locally by installing | |
| 15934 | 6 doxygen and graphviz dot, then running "make docs" in the |
| 14505 | 7 source tree. The documentation will be in the docs/html directory. |
