cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-authdigest adduser.xml changepasswd.xml deluserinrealm.xml file-passwd-authdigest.xml
generatepassword.xml listuserinrealm.xml parse.xml save.xml staticauth.xml userinrealm.xml verifypasswd.xml
| From: | Yannick TORRES | Date: | Wed, 28 Jul 2004 21:26:35 +0000 |
| Subject: | cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-authdigest adduser.xml changepasswd.xml deluserinrealm.xml file-passwd-authdigest.xml generatepassword.xml listuserinrealm.xml parse.xml save.xml staticauth.xml userinrealm.xml verifypasswd.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4681@lists.php.net to get a copy of this message | ||
yannick Wed Jul 28 17:26:35 2004 EDT
Added files:
/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest
adduser.xml
changepasswd.xml
deluserinrealm.xml
file-passwd-authdigest.xml
generatepassword.xml
listuserinrealm.xml
parse.xml
save.xml
staticauth.xml
userinrealm.xml
verifypasswd.xml
Log:
initial translation
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.adduser"> <refnamediv> <refname><function>File_Passwd_Authdigest::addUser</function></refname> <refpurpose>Ajoute un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::addUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.desc"> &title.desc; <para>Ajoute un utilisateur au AuthDigestFile.</para> <para> $user et $realm doivent commencer par un caractère alphanumérique et ne doit PAS contenir aucun autre caractère que des caractères alphanumériques, un underline (_) et un tiret (-). </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_ALREADY</entry> <entry>l'utilisateur existe déjà dans ce "royaume" demandé</entry> </row> <row> <entry>FILE_PASSWD_E_INVLAID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd"> <refnamediv> <refname><function>File_Passwd_Authdigest::changePasswd</function></refname> <refpurpose>Modifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::changePasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.desc"> &title.desc; <para> Modifie le mot de passe d'un utilisateur d'un "royaume" spécifié. </para> <para> Cette méthode, en réalité, ajoute l'utilisateur avec le nouveau mot de passe après avoir effacé l'utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit modifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le nouveau mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur n'existe pas dans le "royaume" spécifié</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::delUserInRealm</function></refname> <refpurpose>Efface un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::delUserInRealm</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$inRealm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.desc"> &title.desc; <para> Efface un utilisateur appartenant au "royaume" spécifié </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à effacer </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$inRealm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur n'existe pas dans le "royaume" spécifié</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest"> <refnamediv> <refname><function>File_Passwd_Authdigest::File_Passwd_Authdigest</function></refname> <refpurpose>Constructeur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once 'File/Passwd/Authdigest.php';</funcsynopsisinfo> <funcprototype> <funcdef>object &new <function>File_Passwd_Authdigest</function></funcdef> <paramdef>string <parameter><optional>$file = '.htdigest'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.desc"> &title.desc; <para> Initialise un nouvel objet File_Passwd_Authdigest avec le chemin spécifié vers le AuthDigestFile. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le AuthDigestFile </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.return"> &title.returns; <para> Retourne un &type.object; <classname>File_Passwd_Authdigest</classname>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword"> <refnamediv> <refname><function>File_Passwd_Authdigest::generatePassword</function></refname> <refpurpose>Génère un mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Authdigest::generatePassword</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.desc"> &title.desc; <para> Génère un mot de passe utilisable pour l'identification "AuthDigest". </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.return"> &title.returns; <para> Retourne un mot de passe crypté sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.example"> &title.example; <example id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.example.listing"> <title>File_Passwd_Authdigest::generatePassword()</title> <programlisting role="php"> <![CDATA[ require_once 'File/Passwd/Authdigest.php'; $pass = File_Passwd_Authdigest::generatePassword('mike', 'restricted', 'secret'); ]]> </programlisting> </example> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.note"> &title.note; ¬e.shouldstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::listUserInRealm</function></refname> <refpurpose>Liste les utilisateurs</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>array <function>File_Passwd_Authdigest::listUserInRealm</function></funcdef> <paramdef>string <parameter><optional>$inRealm = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.desc"> &title.desc; <para> Liste les utilisateurs d'un ou de tous les "royaumes" </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$inRealm</parameter> </term> <listitem> <para> le "royaume" dont on doit lister les utiliseurs </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.return"> &title.returns; <para> Retourne un tableau : <itemizedlist> <listitem> <simpara> un tableau associatif d'utilisateurs d'un seul "royaume" si $inRealm est fourni <![CDATA[ <pre> realm1 + user1 => pass + user2 => pass + user3 => pass </pre> ]]> </simpara> </listitem> <listitem> <simpara> un tableau associatif pour tous les "royaumes" avec tous les utilisateurs <![CDATA[ <pre> array + realm1 => array + user1 =&gt; pass + user2 =&gt; pass + user3 =&gt; pass + realm2 => array + user3 =&gt; pass + realm3 => array + user1 =&gt; pass + user2 =&gt; pass </pre> ]]> </simpara> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.parse"> <refnamediv> <refname><function>File_Passwd_Authdigest::parse</function></refname> <refpurpose>Analyse un AuthDigestFile</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.desc"> &title.desc; <para> Analyse un AuthDigestFile. &pdevrel; </para> <para> Celà intervient habituellement dans <link linkend="package.fileformats.file-passwd.file-passwd-common.load"> <function>File_Passwd_Authdigest::load</function> </link>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>AuthDigestFile a un format invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.save"> <refnamediv> <refname><function>File_Passwd_Authdigest::save</function></refname> <refpurpose>Sauvegarde les modifications</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.desc"> &title.desc; <para> Applique les modifications et réécrit le AuthDigestFile. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>le dossier dans lequel le fichier passwd doit se trouver n'a pu être créé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en écriture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth"> <refnamediv> <refname><function>File_Passwd_Authdigest::staticAuth</function></refname> <refpurpose>Identification rapide</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd/Authdigest.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::staticAuth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.desc"> &title.desc; <para> Identification statique d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> utilisateur à identifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> mot de passe en clair </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.return"> &title.returns; <para> Retourne &true; si l'identification a réussi, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_NOT_EXISTS</entry> <entry>le fichier passwd n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé (uniquement en cas d'échec de l'identification)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé (uniquement en cas d'échec de l'identification)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.note"> &title.note; ¬e.shouldstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::userInRealm</function></refname> <refpurpose>Vérifie si un utilisateur appartient à un "royaume" spécifique</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Passwd/Authdigest.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>File_Passwd_Authdigest::userInRealm</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.desc"> &title.desc; <para> Vérifie si un utilisateur appartient au "royaume" spécifié. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à vérifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.return"> &title.returns; <para> Retourne &true; si l'utilisateur est bien dans ce "royaume", &false; sinon ou un obet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>le "royaume" spécifié n'existe pas</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd"> <refnamediv> <refname><function>File_Passwd_Authdigest::verifyPasswd</function></refname> <refpurpose>Vérifie un mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::verifyPasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.desc"> &title.desc; <para> Vérifie le mot de passe d'un utilisateur dans un "royaume" spécifié. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit vérifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair à vérifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.return"> &title.returns; <para> Retourne &true; si les mots de passe sont équivalents, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur spécifié n'existe pas dans le "royaume" spécifié</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.note"> &title.note; ¬e.notstatic; </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 -->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/adduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.adduser"> <refnamediv> <refname><function>File_Passwd_Authdigest::addUser</function></refname> <refpurpose>Ajoute un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::addUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.desc"> &title.desc; <para>Ajoute un utilisateur au AuthDigestFile.</para> <para> $user et $realm doivent commencer par un caractère alphanumérique et ne doit PAS contenir aucun autre caractère que des caractères alphanumériques, un underline (_) et un tiret (-). </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_ALREADY</entry> <entry>l'utilisateur existe déjà dans ce "royaume" demandé</entry> </row> <row> <entry>FILE_PASSWD_E_INVLAID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/changepasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd"> <refnamediv> <refname><function>File_Passwd_Authdigest::changePasswd</function></refname> <refpurpose>Modifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::changePasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.desc"> &title.desc; <para> Modifie le mot de passe d'un utilisateur d'un "royaume" spécifié. </para> <para> Cette méthode, en réalité, ajoute l'utilisateur avec le nouveau mot de passe après avoir effacé l'utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit modifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le nouveau mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur n'existe pas dans le "royaume" spécifié</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/deluserinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::delUserInRealm</function></refname> <refpurpose>Efface un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::delUserInRealm</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$inRealm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.desc"> &title.desc; <para> Efface un utilisateur appartenant au "royaume" spécifié </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à effacer </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$inRealm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur n'existe pas dans le "royaume" spécifié</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/file-passwd-authdigest.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest"> <refnamediv> <refname><function>File_Passwd_Authdigest::File_Passwd_Authdigest</function></refname> <refpurpose>Constructeur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once 'File/Passwd/Authdigest.php';</funcsynopsisinfo> <funcprototype> <funcdef>object &new <function>File_Passwd_Authdigest</function></funcdef> <paramdef>string <parameter><optional>$file = '.htdigest'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.desc"> &title.desc; <para> Initialise un nouvel objet File_Passwd_Authdigest avec le chemin spécifié vers le AuthDigestFile. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le AuthDigestFile </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.return"> &title.returns; <para> Retourne un &type.object; <classname>File_Passwd_Authdigest</classname>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.file-passwd-authdigest.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/generatepassword.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword"> <refnamediv> <refname><function>File_Passwd_Authdigest::generatePassword</function></refname> <refpurpose>Génère un mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Authdigest::generatePassword</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.desc"> &title.desc; <para> Génère un mot de passe utilisable pour l'identification "AuthDigest". </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.return"> &title.returns; <para> Retourne un mot de passe crypté sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.example"> &title.example; <example id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.example.listing"> <title>File_Passwd_Authdigest::generatePassword()</title> <programlisting role="php"> <![CDATA[ require_once 'File/Passwd/Authdigest.php'; $pass = File_Passwd_Authdigest::generatePassword('mike', 'restricted', 'secret'); ]]> </programlisting> </example> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.generatepassword.note"> &title.note; ¬e.shouldstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/listuserinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::listUserInRealm</function></refname> <refpurpose>Liste les utilisateurs</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>array <function>File_Passwd_Authdigest::listUserInRealm</function></funcdef> <paramdef>string <parameter><optional>$inRealm = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.desc"> &title.desc; <para> Liste les utilisateurs d'un ou de tous les "royaumes" </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$inRealm</parameter> </term> <listitem> <para> le "royaume" dont on doit lister les utiliseurs </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.return"> &title.returns; <para> Retourne un tableau : <itemizedlist> <listitem> <simpara> un tableau associatif d'utilisateurs d'un seul "royaume" si $inRealm est fourni <![CDATA[ <pre> realm1 + user1 => pass + user2 => pass + user3 => pass </pre> ]]> </simpara> </listitem> <listitem> <simpara> un tableau associatif pour tous les "royaumes" avec tous les utilisateurs <![CDATA[ <pre> array + realm1 => array + user1 =&gt; pass + user2 =&gt; pass + user3 =&gt; pass + realm2 => array + user3 =&gt; pass + realm3 => array + user1 =&gt; pass + user2 =&gt; pass </pre> ]]> </simpara> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.parse"> <refnamediv> <refname><function>File_Passwd_Authdigest::parse</function></refname> <refpurpose>Analyse un AuthDigestFile</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.desc"> &title.desc; <para> Analyse un AuthDigestFile. &pdevrel; </para> <para> Celà intervient habituellement dans <link linkend="package.fileformats.file-passwd.file-passwd-common.load"> <function>File_Passwd_Authdigest::load</function> </link>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>AuthDigestFile a un format invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.parse.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.save"> <refnamediv> <refname><function>File_Passwd_Authdigest::save</function></refname> <refpurpose>Sauvegarde les modifications</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.desc"> &title.desc; <para> Applique les modifications et réécrit le AuthDigestFile. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>le dossier dans lequel le fichier passwd doit se trouver n'a pu être créé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en écriture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/staticauth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth"> <refnamediv> <refname><function>File_Passwd_Authdigest::staticAuth</function></refname> <refpurpose>Identification rapide</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd/Authdigest.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::staticAuth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.desc"> &title.desc; <para> Identification statique d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> utilisateur à identifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> mot de passe en clair </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.return"> &title.returns; <para> Retourne &true; si l'identification a réussi, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_NOT_EXISTS</entry> <entry>le fichier passwd n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé (uniquement en cas d'échec de l'identification)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé (uniquement en cas d'échec de l'identification)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.note"> &title.note; ¬e.shouldstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/userinrealm.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm"> <refnamediv> <refname><function>File_Passwd_Authdigest::userInRealm</function></refname> <refpurpose>Vérifie si un utilisateur appartient à un "royaume" spécifique</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Passwd/Authdigest.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>File_Passwd_Authdigest::userInRealm</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.desc"> &title.desc; <para> Vérifie si un utilisateur appartient au "royaume" spécifié. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à vérifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur doit appartenir </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.return"> &title.returns; <para> Retourne &true; si l'utilisateur est bien dans ce "royaume", &false; sinon ou un obet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>le "royaume" spécifié n'existe pas</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.note"> &title.note; ¬e.notstatic; </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 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-authdigest/verifypasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd"> <refnamediv> <refname><function>File_Passwd_Authdigest::verifyPasswd</function></refname> <refpurpose>Vérifie un mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Authdigest::verifyPasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$realm</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.desc"> &title.desc; <para> Vérifie le mot de passe d'un utilisateur dans un "royaume" spécifié. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit vérifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$realm</parameter> </term> <listitem> <para> le "royaume" auquel l'utilisateur appartient </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en clair à vérifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.return"> &title.returns; <para> Retourne &true; si les mots de passe sont équivalents, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur spécifié n'existe pas dans le "royaume" spécifié</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.note"> &title.note; ¬e.notstatic; </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 -->