mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 02:02:16 -05:00
XEP-0388 SASL2: Avoid superfluous whitespaces in Example 1-3
This commit is contained in:
parent
0071bdd205
commit
83624c9f94
@ -104,8 +104,7 @@
|
|||||||
<authenticate xmlns='urn:xmpp:sasl:1' mechanism="BLURDLYBLOOP">
|
<authenticate xmlns='urn:xmpp:sasl:1' mechanism="BLURDLYBLOOP">
|
||||||
<initial-response>Tm9ib2R5IGV2ZXIgZGVjb2RlcyB0aGUgZXhhbXBsZXMu</initial-response>
|
<initial-response>Tm9ib2R5IGV2ZXIgZGVjb2RlcyB0aGUgZXhhbXBsZXMu</initial-response>
|
||||||
</authenticate>
|
</authenticate>
|
||||||
]]>
|
]]></example>
|
||||||
</example>
|
|
||||||
<p>In order to provide support for other desired stream states beyond authentication, additional child elements are used. For example, a hypothetical XEP-0198 session resumption element might be included, and/or Resource Binding requests.</p>
|
<p>In order to provide support for other desired stream states beyond authentication, additional child elements are used. For example, a hypothetical XEP-0198 session resumption element might be included, and/or Resource Binding requests.</p>
|
||||||
<example caption="An authentication request with a (hypothetical) bind request"><![CDATA[
|
<example caption="An authentication request with a (hypothetical) bind request"><![CDATA[
|
||||||
<authenticate xmlns='urn:xmpp:sasl:1' mechanism='BLURDYBLOOP'>
|
<authenticate xmlns='urn:xmpp:sasl:1' mechanism='BLURDYBLOOP'>
|
||||||
@ -114,8 +113,7 @@
|
|||||||
</initial-response>
|
</initial-response>
|
||||||
<bind xmlns='urn:xmpp:bind:example'/>
|
<bind xmlns='urn:xmpp:bind:example'/>
|
||||||
</authenticate>
|
</authenticate>
|
||||||
]]>
|
]]></example>
|
||||||
</example>
|
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic="Challenges and Responses" anchor="challenge">
|
<section2 topic="Challenges and Responses" anchor="challenge">
|
||||||
<p>Server Challenges MAY then be sent. Each Challenge MUST be responded to by a Client in a Client Response. These are not extensible, and contain the corresponding base64 encoded SASL data:</p>
|
<p>Server Challenges MAY then be sent. Each Challenge MUST be responded to by a Client in a Client Response. These are not extensible, and contain the corresponding base64 encoded SASL data:</p>
|
||||||
@ -129,8 +127,7 @@
|
|||||||
<response xmlns='urn:xmpp:sasl:1'>
|
<response xmlns='urn:xmpp:sasl:1'>
|
||||||
Li4uSSdsbCBidXkgYSBiZWVyIGZvciB0aGUgZmlyc3QgcGVyc29uIHdoby4uLg==
|
Li4uSSdsbCBidXkgYSBiZWVyIGZvciB0aGUgZmlyc3QgcGVyc29uIHdoby4uLg==
|
||||||
</response>
|
</response>
|
||||||
]]>
|
]]></example>
|
||||||
</example>
|
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic="During Authentication">
|
<section2 topic="During Authentication">
|
||||||
<p>At any time while authentication is in progress, neither Client nor Server sends any element (including stanzas) or other data except the top-level elements defined herein. Clients MUST NOT send whitespace, and MUST send only <response/> elements as appropriate or an <abort/> element to immediately cause an error. Servers MUST disconnect Clients immediately if any other traffic is received. Servers are similarly REQUIRED to send no whitespace, and only the <response/> and completion elements from the section below.</p>
|
<p>At any time while authentication is in progress, neither Client nor Server sends any element (including stanzas) or other data except the top-level elements defined herein. Clients MUST NOT send whitespace, and MUST send only <response/> elements as appropriate or an <abort/> element to immediately cause an error. Servers MUST disconnect Clients immediately if any other traffic is received. Servers are similarly REQUIRED to send no whitespace, and only the <response/> and completion elements from the section below.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user