Software /
code /
prosody
File
spec/scansion/tombstones.scs @ 12936:b796e08e6376
util.sasl.oauthbearer: Attach token_info to sasl handler
This allows token-aware things to access extra information about the
authentication, such as when the token is due to expire and the attached
custom 'data'.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 15 Mar 2023 09:41:38 +0000 |
parent | 12116:efcf25ad5406 |
line wrap: on
line source
# Tombstones [Client] Romeo jid: romeo@localhost password: password [Client] Juliet jid: juliet-tombstones@localhost password: password --------- Romeo connects Juliet connects Juliet sends: <iq type="set" id="bye"> <query xmlns="jabber:iq:register"> <remove/> </query> </iq> # Scansion gets disconnected right after this with a stream error makes # scansion itself abort, so we preemptively disconnect to avoid that # Juliet receives: # <iq type="result" id="bye"/> Juliet disconnects Romeo sends: <presence type="probe" to="${Juliet's JID}"/> Romeo receives: <presence type="error" from="${Juliet's JID}"/> Romeo receives: <presence type="unsubscribed" from="${Juliet's JID}"/>