cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd apiversion.xml factory.xml staticauth.xml

From: Date: Sun, 25 Jul 2004 21:42:54 +0000
Subject: cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd apiversion.xml factory.xml staticauth.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4675@lists.php.net to get a copy of this message
yannick Sun Jul 25 17:42:54 2004 EDT Added files: /peardoc/fr/package/fileformats/file-passwd/file-passwd apiversion.xml factory.xml staticauth.xml Log: initial translation

http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd/apiversion.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd/apiversion.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd/apiversion.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd.apiversion"> <refnamediv> <refname><function>File_Passwd::apiVersion</function></refname> <refpurpose>R&eacute;cup&egrave;re la version de l'API</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>File_Passwd::apiVersion</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd.apiversion.desc"> &title.desc; <para>Retourne la version de l'API du paquet <classname>File_Passwd</classname>.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.apiversion.return"> &title.returns; <para> Retourne une cha&icirc;ne de caract&egrave;res repr&eacute;sentant la version de l'API (actuellement, 1.0.0). </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.apiversion.note"> &title.note; &note.canstatic; </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/factory.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd/factory.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd/factory.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd.factory"> <refnamediv> <refname><function>File_Passwd::factory</function></refname> <refpurpose>Gestion des extensions</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once 'File/Passwd.php';</funcsynopsisinfo> <funcprototype> <funcdef> object &amp;<function>File_Passwd::factory</function> </funcdef> <paramdef>string <parameter>$class</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd.factory.desc"> &title.desc; <para> Charge la classe de fonctionnement d&eacute;sir&eacute;e (extension). </para> <para> <itemizedlist> <listitem> <simpara>Unix - pour les fichiers passwd standard Unix</simpara> </listitem> <listitem> <simpara>CVS - pour les fichiers passwd CVS pserver</simpara> </listitem> <listitem> <simpara>SMB - pour les fichiers passwd SMB server</simpara> </listitem> <listitem> <simpara>Authbasic - pour les AuthUserFiles</simpara> </listitem> <listitem> <simpara>Authdigest - pour les AuthDigestFiles</simpara> </listitem> <listitem> <simpara>Custom - pour les fichiers customis&eacute;s format&eacute;s comme les fichiers passwd</simpara> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.factory.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$class</parameter> </term> <listitem> <para> l'extension d&eacute;sir&eacute;e pour File_Passwd </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.factory.return"> &title.returns; <para> Retourne un objet de l'extension <classname>File_Passwd</classname> ou un objet <classname>PEAR_Error</classname> en cas d'&eacute;chec. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.factory.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/staticauth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd/staticauth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd/staticauth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd.staticauth"> <refnamediv> <refname><function>File_Passwd::staticAuth</function></refname> <refpurpose>Identification rapide</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>File_Passwd::staticAuth</function></funcdef> <paramdef>string <parameter>$type</parameter></paramdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>mixed <parameter> <optional>$opt = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd.staticauth.desc"> &title.desc; <para> Identification statique d'utilisateur. </para> <para> Bien que cette approche soit raisonablement rapide, elle n'est PAS compatible avec le cryptage MD5 utilis&eacute; dans les fichiers du style htpasswd crypt&eacute;s avec MD5. </para> <para> La g&eacute;n&eacute;ration d'un seul mot de passe MD5 prend environs 0.25 secondes ! </para> <para> D&eacute;pendant du type <varname>$type</varname>, <varname>$opt</varname> doit &ecirc;tre : <itemizedlist> <listitem> <formalpara> <title>Smb:</title> <para><simplelist><member>m&eacute;thode de cryptage (NT ou LM)</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Unix:</title> <para><simplelist><member>m&eacute;thode de cryptage (des ou md5)</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Authbasic:</title> <para><simplelist><member>m&eacute;thode de cryptage (des, sha ou md5)</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Authdigest:</title> <para><simplelist><member>le "royaume" auquel l'utilisateur appartient</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Cvs:</title> <para><simplelist><member>n/a (vide)</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Custom:</title> <para><simplelist><member>tableau de 2 &eacute;l&eacute;ments : fonction de cryptage et d&eacute;limiteur</member></simplelist></para> </formalpara> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.staticauth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$type</parameter> </term> <listitem> <para> Unix, Cvs, Smb, Authbasic ou Authdigest </para> </listitem> </varlistentry> <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> l'utilisateur &agrave; identifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe en plaintext (en clair) </para> </listitem> </varlistentry> <varlistentry> <term> &type.mixed; <parameter>$opt</parameter> </term> <listitem> <para> <itemizedlist> <listitem> <formalpara> <title>Smb:</title> <para><simplelist><member>nt | lm</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Unix:</title> <para><simplelist><member>des | md5</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Authbasic:</title> <para><simplelist><member>des | sha | md5</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Authdigest:</title> <para><simplelist><member>le "royaume" auquel l'utilisateur appartient</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Cvs:</title> <para><simplelist><member>n/a (vide)</member></simplelist></para> </formalpara> </listitem> <listitem> <formalpara> <title>Custom:</title> <para><simplelist><member>tableau de 2 &eacute;l&eacute;ments : fonction de cryptage et d&eacute;limiteur</member></simplelist></para> </formalpara> </listitem> </itemizedlist> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.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'&eacute;chec. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>R&eacute;sum&eacute;</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 ne peut &ecirc;tre ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd ne peut &ecirc;tre verrouill&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd ne peut pas &ecirc;tre d&eacute;verrouill&eacute; (uniquement si l'identification &eacute;choue)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd ne peut pas &ecirc;tre clos file couldn't be closed (uniquement si l'identification &eacute;choue)</entry> </row> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>si le fichier/classe ne peut &ecirc;tre charg&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage demand&eacute; n'est pas support&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>l'utilisateur n'existe pas dans ce "royaume" (uniquement pour File_Passwd_Authdigest)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd.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 -->
« previous php.pear.doc (#4675) next »