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