Ver código fonte

auth_ephemeral: Minor documentation improvement

Hugh Waite 12 anos atrás
pai
commit
985cee9f4e

+ 1 - 1
modules/auth_ephemeral/doc/auth_ephemeral.xml

@@ -21,7 +21,7 @@
 	</authorgroup>
 	<copyright>
 		<year>2013</year>
-		<holder>Crocdile RCS Ltd</holder>
+		<holder>Crocodile RCS Ltd</holder>
 	</copyright>
 	</bookinfo>
 	<toc></toc>

+ 8 - 6
modules/auth_ephemeral/doc/auth_ephemeral_admin.xml

@@ -66,6 +66,7 @@
 	</itemizedlist>
 	</para>
 	<example>
+	<title>Request example</title>
 	<programlisting format="linespecific">
 GET /?service=sip&amp;username=foobar;&amp;ttl=86400;
 </programlisting>
@@ -100,6 +101,7 @@ GET /?service=sip&amp;username=foobar;&amp;ttl=86400;
 	</itemizedlist>
 	</para>
 	<example>
+	<title>Response example</title>
 	<programlisting format="linespecific">
 {
   "username" : "foobar:1234567890",
@@ -145,9 +147,9 @@ GET /?service=sip&amp;username=foobar;&amp;ttl=86400;
 	</section>
 
 
-	<section>
+	<section id="auth_eph.parameters">
 	<title>Parameters</title>
-	<section>
+	<section id="auth_eph.p.secret">
 		<title><varname>secret</varname> (string)</title>
 		<para>
 		The shared secret to use for generating credentials. This
@@ -167,9 +169,9 @@ modparam("auth_ephemeral", "secret", "kamailio_rules")
 	</section>
 	</section>
 
-	<section>
+	<section id="auth_eph.functions">
 	<title>Functions</title>
-	<section>
+	<section id="auth_eph.f.autheph_proxy">
 		<title>
 			<function moreinfo="none">autheph_proxy(realm)</function>
 		</title>
@@ -211,7 +213,7 @@ if (!autheph_proxy("$fd")) {
 		</example>
 	</section>
 
-	<section>
+	<section id="auth_eph.f.autheph_www">
 		<title>
 			<function moreinfo="none">autheph_www(realm[, method])</function>
 		</title>
@@ -259,7 +261,7 @@ if (!autheph_www("$fd")) {
 	</section>
 
 
-	<section>
+	<section id="auth_eph.f.autheph_check">
 		<title>
 			<function moreinfo="none">autheph_check(realm)</function>
 		</title>