Add X-OAUTH2 authentication and example

This commit is contained in:
Mickael Remond
2019-10-01 11:30:23 +02:00
committed by Mickaël Rémond
parent 9c8353d081
commit 4f68c5eee2
3 changed files with 72 additions and 15 deletions

View File

@@ -48,6 +48,3 @@ func handleMessage(s xmpp.Sender, p stanza.Packet) {
reply := stanza.Message{Attrs: stanza.Attrs{To: msg.From}, Body: msg.Body}
_ = s.Send(reply)
}
// TODO create default command line client to send message or to send an arbitrary XMPP sequence from a file,
// (using templates ?)