Commit graph

15 commits

Author SHA1 Message Date
Mickael Remond 9c8353d081 Introduce Credential structure to define auth type
For now we are planning to support Password and OAuthToken.
In the future, we would like to add certificate-based authentication.
2019-10-01 11:40:31 +02:00
Mickael Remond cca0919b8a
Fix session element parsing on IQ 2019-06-29 17:39:19 +02:00
Mickael Remond 40e907e8ee
Clean-up & refactor 2019-06-29 16:49:54 +02:00
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package 2019-06-26 17:14:52 +02:00
Mickael Remond af0ae525b8 An IQ can only have a single payload
"An IQ stanza of type "get" or "set" MUST contain exactly one
 child element, which specifies the semantics of the particular
 request."
2019-06-19 14:03:42 +02:00
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00
Mickael Remond 715bf6976f Fix client tests 2019-06-18 14:36:56 +02:00
Mickael Remond 709a95129e
Clean up and fix StartTLS feature discovery
Required field was never set to true
2019-06-10 16:27:52 +02:00
Mickael Remond 021f6d3740 Refactor ClientManager into a more generic StreamManager 2019-06-09 13:08:25 +02:00
Mickael Remond 5eae7f4ef7
Move project to gosrc.io/xmpp
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
2018-12-26 18:50:01 +01:00
Mickael Remond fa5590e921
Rename Options to Config 2018-09-26 16:25:04 +02:00
Mickael Remond d33490cdc0
Work-in-progress on dynamic IQ parsing 2018-01-16 22:33:21 +01:00
Mickael Remond dade3504f0
Improve generic IQ parsing 2018-01-15 12:28:34 +01:00
Mickael Remond 10219ec1e6
Refactor parsing / improve typing 2018-01-13 18:50:17 +01:00
Mickael Remond 710174b165
Moving XMPP library to Fluux project 2018-01-01 18:12:33 +01:00
Renamed from xmpp/client_test.go (Browse further)