cvs: peardoc /en/package/authentication/auth/auth getauth.xml /en/package/authentication/auth/storage netvpopmaild.xml pear.xml
| From: | Adam Ashley | Date: | Fri, 04 Apr 2008 03:58:36 +0000 |
| Subject: | cvs: peardoc /en/package/authentication/auth/auth getauth.xml /en/package/authentication/auth/storage netvpopmaild.xml pear.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10613@lists.php.net to get a copy of this message | ||
aashley Fri Apr 4 03:58:36 2008 UTC
Added files:
/peardoc/en/package/authentication/auth/storage netvpopmaild.xml
Modified files:
/peardoc/en/package/authentication/auth/auth getauth.xml
/peardoc/en/package/authentication/auth/storage pear.xml
Log:
Updated documentation for Auth 1.6.0
http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/auth/getauth.xml?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/en/package/authentication/auth/auth/getauth.xml
diff -u peardoc/en/package/authentication/auth/auth/getauth.xml:1.5
peardoc/en/package/authentication/auth/auth/getauth.xml:1.6
--- peardoc/en/package/authentication/auth/auth/getauth.xml:1.5 Sun Nov 12 11:31:09 2006
+++ peardoc/en/package/authentication/auth/auth/getauth.xml Fri Apr 4 03:58:36 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="package.authentication.auth.auth.getauth">
<refnamediv>
<refname>Auth::getAuth()</refname>
@@ -15,7 +15,11 @@
<refsect1 id="package.authentication.auth.auth.getauth.desc">
&title.desc;
<para>
- Check if the user has been authenticated.
+ Check if the user has been authenticated.
+ </para>
+ <para>
+ Previously this function had a different behaviour to
+ <function>Auth::getAuth</function> but it is now just an alias.
</para>
</refsect1>
<refsect1 id="package.authentication.auth.auth.getauth.return">
http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/storage/pear.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/authentication/auth/storage/pear.xml
diff -u peardoc/en/package/authentication/auth/storage/pear.xml:1.3
peardoc/en/package/authentication/auth/storage/pear.xml:1.4
--- peardoc/en/package/authentication/auth/storage/pear.xml:1.3 Fri Jan 4 17:09:31 2008
+++ peardoc/en/package/authentication/auth/storage/pear.xml Fri Apr 4 03:58:36 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.authentication.auth.storage.pear">
<refnamediv>
<refname>Auth_Container_PEAR</refname>
@@ -12,8 +12,58 @@
must be installed for this container to operate, as of Auth 1.5.3.
</para>
<para>
- This container does not take an storage specific options.
+ The storage-specific argument for the
+ <link linkend="package.authentication.auth.auth.auth">
+ <function>Auth constructor</function>
+ </link>
+ is an array of options.
+ <table>
+ <title>Available Options</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Data Type</entry>
+ <entry>Default value</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <quote>url</quote>
+ </entry>
+ <entry>
+ &type.string;
+ </entry>
+ <entry>
+ <quote>https://pear.php.net/rest-login.php/</quote>
+ </entry>
+ The base URL of a PEAR website to authenticate against.
+ <entry>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <quote>karma</quote>
+ </entry>
+ <entry>
+ &type.array;
+ </entry>
+ <entry>
+ array()
+ </entry>
+ <entry>
+ List of karma levels required for a valid authentication. If no karma
+ levels are supplied than simply validating the username and password
+ will result in success.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</para>
+
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/storage/netvpopmaild.xml?view=markup&rev=1.1
Index: peardoc/en/package/authentication/auth/storage/netvpopmaild.xml
+++ peardoc/en/package/authentication/auth/storage/netvpopmaild.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.authentication.auth.storage.netvpopmaild">
<refnamediv>
<refname>Auth_Container_NetVPOPMaild</refname>
<refpurpose>Authenticate against a vpopmail service using Net_Vpopmaild</refpurpose>
</refnamediv>
<refsect1 id="package.authentication.auth.storage.netvpopmaild.overview">
<title>NetVPOPMaild Container</title>
<para>
This container makes use of
<link
linkend="package.networking.net-vpopmaild"><classname>PEAR::Net_Vpopmaild</classname></link>
to authenticate against a vpopmail installation.
</para>
<para>
It does not require any storage-specific argument.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->