XEP-0389: add intro to flows section

This commit is contained in:
Sam Whited 2020-05-06 09:23:06 -04:00
parent 9a7d41bcd8
commit a8b67624ac
1 changed files with 10 additions and 0 deletions

View File

@ -210,6 +210,16 @@
</query>]]></example>
</section1>
<section1 topic='Registration Flows' anchor='flows'>
<p>
Registration or recovery is completed after responding to a series of
challenges issued by the server.
Challenges are grouped in to "flows", a number of challenges that may be
issued together to complete an action.
For example, a registration flow might be created that issues a data form
challenge which will be shown to the user to gather information, then issues
a second data form challenge to let the user enter a confirmation code that
was sent to their email.
</p>
<section2 topic='Stream Feature'>
<p>
If a server supports registering for or recovering an account using