From 1f904b69be066170883167bde5b52887d3f4ba4a Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Wed, 22 Apr 2020 11:28:11 -0400 Subject: [PATCH] XEP-0389: add an IQ query for flows --- xep-0389.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/xep-0389.xml b/xep-0389.xml index 011c05f2..236d67a2 100644 --- a/xep-0389.xml +++ b/xep-0389.xml @@ -264,8 +264,55 @@ fact by including a feature of "urn::xmpp:register:0" in response to &xep0030; information requests and in their &xep0115; profiles.

- ]]> + + … + + … +]]> + + +

+ To find what flows an entity provides (if any) after stream negotiation is + complete the requester can send an IQ of type "get" containing a + <register> or <recovery> element qualified by the + "urn:xmpp:register:0" namespace. +

+

+ When responding to a query for registration or recovery flows the list of + challenges should be included just as it would be if during stream feature + negotiation. + That is, a "register" or "recovery" element containing a list of flows, + each with an id, containing a name and a list of challenges. + If an entity supports this specification but does not provide any flows + after stream negotiation it MUST respond with an empty list. +

+ + +]]> + + + + Verify with SMS + + + + Verify by Phone Call + + + + Verify with the web + + + + +]]> + + +]]>