Comparison

spec/scansion/extdisco.scs @ 11753:c4599a7c534c

mod_external_services: Validate required attributes on credentials requests
author Kim Alvefur <zash@zash.se>
date Sun, 29 Aug 2021 23:26:19 +0200
parent 11036:79e410cd7f6e
child 13405:c8f3cfe59e90
comparison
equal deleted inserted replaced
11752:6427e2642976 11753:c4599a7c534c
50 <service port='9876' type='turn' restricted='1' password='yHYYBDN7M3mdlug0LTdJbW0GvvQ=' transport='udp' host='default.example' username='1219525744'/> 50 <service port='9876' type='turn' restricted='1' password='yHYYBDN7M3mdlug0LTdJbW0GvvQ=' transport='udp' host='default.example' username='1219525744'/>
51 <service port='9876' type='turn' restricted='1' password='1Uc6QfrDhIlbK97rGCUQ/cUICxs=' transport='udp' host='default.example' username='1219525744'/> 51 <service port='9876' type='turn' restricted='1' password='1Uc6QfrDhIlbK97rGCUQ/cUICxs=' transport='udp' host='default.example' username='1219525744'/>
52 </credentials> 52 </credentials>
53 </iq> 53 </iq>
54 54
55 Romeo sends:
56 <iq type='get' xml:lang='sv' id='lx5' to='localhost'>
57 <credentials xmlns='urn:xmpp:extdisco:2'>
58 <service host='default.example' />
59 </credentials>
60 </iq>
61
62 Romeo receives:
63 <iq type='error' id='lx5' from='localhost'>
64 <error type='modify'>
65 <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
66 </error>
67 </iq>
68
55 Romeo disconnects 69 Romeo disconnects
56 70
57 # recording ended on 2020-07-18T16:47:57Z 71 # recording ended on 2020-07-18T16:47:57Z