|
@@ -204,10 +204,6 @@ if (!auth_check("$fd", "subscriber", "1")) {
|
|
<emphasis>-2 (invalid password)</emphasis> - wrong password
|
|
<emphasis>-2 (invalid password)</emphasis> - wrong password
|
|
</para></listitem>
|
|
</para></listitem>
|
|
<listitem><para>
|
|
<listitem><para>
|
|
- <emphasis>-3 (invalid user)</emphasis> - authentication user does
|
|
|
|
- not exist
|
|
|
|
- </para></listitem>
|
|
|
|
- <listitem><para>
|
|
|
|
<emphasis>-4 (nonce expired)</emphasis> - the nonce has expired
|
|
<emphasis>-4 (nonce expired)</emphasis> - the nonce has expired
|
|
</para></listitem>
|
|
</para></listitem>
|
|
<listitem><para>
|
|
<listitem><para>
|
|
@@ -218,10 +214,6 @@ if (!auth_check("$fd", "subscriber", "1")) {
|
|
<emphasis>-6 (nonce reused)</emphasis> - the nonce has already been
|
|
<emphasis>-6 (nonce reused)</emphasis> - the nonce has already been
|
|
used to authenticate a previous request
|
|
used to authenticate a previous request
|
|
</para></listitem>
|
|
</para></listitem>
|
|
- <listitem><para>
|
|
|
|
- <emphasis>-8 (auth user mismatch)</emphasis> - the auth user is different
|
|
|
|
- then the From/To user
|
|
|
|
- </para></listitem>
|
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
<para>Meaning of the parameters is as follows:</para>
|
|
<para>Meaning of the parameters is as follows:</para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
@@ -357,6 +349,13 @@ if (!pv_proxy_authenticate("$fd", "$avp(password)", "0")) {
|
|
request or not. The parameter may be a pseudo variable.
|
|
request or not. The parameter may be a pseudo variable.
|
|
</para>
|
|
</para>
|
|
<para>
|
|
<para>
|
|
|
|
+ The set of possible return codes is the same than pv_{www,proxy}_authenticate, with
|
|
|
|
+ one more possible value:
|
|
|
|
+ <para><emphasis>-8 (auth user mismatch)</emphasis> - the auth user is different
|
|
|
|
+ than the From/To user
|
|
|
|
+ </para>
|
|
|
|
+ </para>
|
|
|
|
+ <para>
|
|
This function can be used from REQUEST_ROUTE.
|
|
This function can be used from REQUEST_ROUTE.
|
|
</para>
|
|
</para>
|
|
<example>
|
|
<example>
|