aboutsummaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2017-11-01 21:11:52 +0000
committerBrian Cully <bjc@kublai.com>2017-11-10 11:28:10 -0500
commit95232ea1e6ee1752bed33170e352cbf4bcf49141 (patch)
tree24fbf6741afc5ad4c0e1cec9c2d22cd30903bfb4 /xml
downloadxmpt-95232ea1e6ee1752bed33170e352cbf4bcf49141.tar.gz
xmpt-95232ea1e6ee1752bed33170e352cbf4bcf49141.zip
Initial commit.
Diffstat (limited to 'xml')
-rw-r--r--xml/auth.expected.xml1
-rw-r--r--xml/auth.xml1
-rw-r--r--xml/bind-reneg.expected.xml9
-rw-r--r--xml/bind-reneg.xml7
-rw-r--r--xml/bind.expected.xml5
-rw-r--r--xml/bind.xml5
-rw-r--r--xml/session.expected.xml1
-rw-r--r--xml/session.xml3
-rw-r--r--xml/signin.expected.xml12
-rw-r--r--xml/signin.xml6
-rw-r--r--xml/signout.expected.xml1
-rw-r--r--xml/signout.xml1
12 files changed, 52 insertions, 0 deletions
diff --git a/xml/auth.expected.xml b/xml/auth.expected.xml
new file mode 100644
index 0000000..2c1c582
--- /dev/null
+++ b/xml/auth.expected.xml
@@ -0,0 +1 @@
+<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></success>
diff --git a/xml/auth.xml b/xml/auth.xml
new file mode 100644
index 0000000..25c8e1d
--- /dev/null
+++ b/xml/auth.xml
@@ -0,0 +1 @@
+<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>{plain_auth}</auth>
diff --git a/xml/bind-reneg.expected.xml b/xml/bind-reneg.expected.xml
new file mode 100644
index 0000000..23774eb
--- /dev/null
+++ b/xml/bind-reneg.expected.xml
@@ -0,0 +1,9 @@
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ version='1.0'
+ from='{domainpart}'
+ id='.*'
+ xmlns='jabber:client'>
+ <stream:features>
+ <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
+ <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
+ </stream:features>
diff --git a/xml/bind-reneg.xml b/xml/bind-reneg.xml
new file mode 100644
index 0000000..cf456c0
--- /dev/null
+++ b/xml/bind-reneg.xml
@@ -0,0 +1,7 @@
+<?xml version='1.0'?>
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ xmlns:xml='http://www.w3.org/XML/1998/namespace'
+ xmlns='jabber:client'
+ xml:lang='en'
+ version='1.0'
+ to='{domainpart}'>
diff --git a/xml/bind.expected.xml b/xml/bind.expected.xml
new file mode 100644
index 0000000..9cfa434
--- /dev/null
+++ b/xml/bind.expected.xml
@@ -0,0 +1,5 @@
+<iq from='{bare_jid}' to='{full_jid}' id='bind' type='result'>
+ <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
+ <jid>{full_jid}</jid>
+ </bind>
+</iq>
diff --git a/xml/bind.xml b/xml/bind.xml
new file mode 100644
index 0000000..82a2d09
--- /dev/null
+++ b/xml/bind.xml
@@ -0,0 +1,5 @@
+<iq type='set' id='bind'>
+ <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
+ <resource>{resourcepart}</resource>
+ </bind>
+</iq>
diff --git a/xml/session.expected.xml b/xml/session.expected.xml
new file mode 100644
index 0000000..f1bcab2
--- /dev/null
+++ b/xml/session.expected.xml
@@ -0,0 +1 @@
+<iq from='{bare_jid}' to='{full_jid}' id='session' type='result'/>
diff --git a/xml/session.xml b/xml/session.xml
new file mode 100644
index 0000000..6f830bf
--- /dev/null
+++ b/xml/session.xml
@@ -0,0 +1,3 @@
+<iq type='set' id='session'>
+ <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
+</iq>
diff --git a/xml/signin.expected.xml b/xml/signin.expected.xml
new file mode 100644
index 0000000..4774bbb
--- /dev/null
+++ b/xml/signin.expected.xml
@@ -0,0 +1,12 @@
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ version='1.0'
+ from='{domainpart}'
+ id='.*'
+ xmlns='jabber:client'>
+ <stream:features>
+ <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
+ <mechanism>SCRAM-SHA-1</mechanism>
+ <mechanism>PLAIN</mechanism>
+ </mechanisms>
+ <auth xmlns='http://jabber.org/features/iq-auth'/>
+ </stream:features>
diff --git a/xml/signin.xml b/xml/signin.xml
new file mode 100644
index 0000000..7b9438f
--- /dev/null
+++ b/xml/signin.xml
@@ -0,0 +1,6 @@
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ xmlns:xml='http://www.w3.org/XML/1998/namespace'
+ xmlns='jabber:client'
+ xml:lang='en'
+ version='1.0'
+ to='{domainpart}'>
diff --git a/xml/signout.expected.xml b/xml/signout.expected.xml
new file mode 100644
index 0000000..522b4a3
--- /dev/null
+++ b/xml/signout.expected.xml
@@ -0,0 +1 @@
+</stream>
diff --git a/xml/signout.xml b/xml/signout.xml
new file mode 100644
index 0000000..522b4a3
--- /dev/null
+++ b/xml/signout.xml
@@ -0,0 +1 @@
+</stream>