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: 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&egrave;re alphanum&eacute;rique et ne doit PAS contenir aucun autre caract&egrave;re que des caract&egrave;res alphanum&eacute;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 &agrave; 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&eacute;j&agrave; dans ce "royaume" demand&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_INVLAID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caract&egrave;re invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.adduser.note"> &title.note; &note.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&eacute;cifi&eacute;. </para> <para> Cette m&eacute;thode, en r&eacute;alit&eacute;, ajoute l'utilisateur avec le nouveau mot de passe apr&egrave;s avoir effac&eacute; 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&eacute;cifi&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>l'utilisateur ou le "royaume" contient un caract&egrave;re invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.changepasswd.note"> &title.note; &note.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&eacute;cifi&eacute; </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 &agrave; 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&eacute;cifi&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.deluserinrealm.note"> &title.note; &note.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 &amp;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&eacute;cifi&eacute; 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; &note.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&eacute;n&egrave;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&eacute;n&egrave;re un mot de passe utilisable pour l'identification &quot;AuthDigest&quot;. </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&eacute; sous la forme d'une cha&icirc;ne de caract&egrave;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; &note.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 =&gt; pass + user2 =&gt; pass + user3 =&gt; pass </pre> ]]> </simpara> </listitem> <listitem> <simpara> un tableau associatif pour tous les "royaumes" avec tous les utilisateurs <![CDATA[ <pre> array + realm1 =&gt; array + user1 =&amp;gt; pass + user2 =&amp;gt; pass + user3 =&amp;gt; pass + realm2 =&gt; array + user3 =&amp;gt; pass + realm3 =&gt; array + user1 =&amp;gt; pass + user2 =&amp;gt; pass </pre> ]]> </simpara> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.listuserinrealm.note"> &title.note; &note.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&agrave; 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; &note.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&eacute;&eacute;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 &ecirc;tre cr&eacute;&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ouvert en &eacute;criture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre verrouill&eacute; exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre d&eacute;verrouill&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ferm&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.save.note"> &title.note; &note.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 &agrave; 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&eacute;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 &ecirc;tre ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre verrouill&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre d&eacute;verrouill&eacute; (uniquement en cas d'&eacute;chec de l'identification)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ferm&eacute; (uniquement en cas d'&eacute;chec de l'identification)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.staticauth.note"> &title.note; &note.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&eacute;rifie si un utilisateur appartient &agrave; un "royaume" sp&eacute;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&eacute;rifie si un utilisateur appartient au "royaume" sp&eacute;cifi&eacute;. </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 &agrave; v&eacute;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&eacute;cifi&eacute; n'existe pas</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.userinrealm.note"> &title.note; &note.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&eacute;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&eacute;rifie le mot de passe d'un utilisateur dans un "royaume" sp&eacute;cifi&eacute;. </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&eacute;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 &agrave; v&eacute;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 &eacute;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&eacute;cifi&eacute; n'existe pas dans le "royaume" sp&eacute;cifi&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-authdigest.verifypasswd.note"> &title.note; &note.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 -->
« previous php.pear.doc (#4681) next »