cvs: peardoc /fr/package/authentication/auth/auth auth.xml

From: Date: Wed, 13 Oct 2004 22:02:36 +0000
Subject: cvs: peardoc /fr/package/authentication/auth/auth auth.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4962@lists.php.net to get a copy of this message
moosh Wed Oct 13 18:02:36 2004 EDT Modified files: /peardoc/fr/package/authentication/auth/auth auth.xml Log: - synchro with EN - add <?xml version="1.0" encoding="iso-8859-1" ?> - remove enties http://cvs.php.net/diff.php/peardoc/fr/package/authentication/auth/auth/auth.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/fr/package/authentication/auth/auth/auth.xml diff -u peardoc/fr/package/authentication/auth/auth/auth.xml:1.2 peardoc/fr/package/authentication/auth/auth/auth.xml:1.3 --- peardoc/fr/package/authentication/auth/auth/auth.xml:1.2 Thu Jun 24 01:33:03 2004 +++ peardoc/fr/package/authentication/auth/auth/auth.xml Wed Oct 13 18:02:36 2004 @@ -1,5 +1,6 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: moosh Status: ready --> +<?xml version="1.0" encoding="iso-8859-1" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.11 Maintainer: moosh Status: uncomplete --> <refentry id="package.authentication.auth.auth.auth"> <refnamediv> <refname>Auth::Auth()</refname> @@ -9,9 +10,9 @@ <funcsynopsis> <funcprototype> <funcdef><function>Auth::Auth</function></funcdef> - <paramdef>cha&icirc;ne <parameter>$storageDriver = "DB"</parameter></paramdef> + <paramdef>mixed <parameter>$storageDriver = "DB"</parameter></paramdef> <paramdef>mixed <parameter>$options = ""</parameter></paramdef> - <paramdef>cha&icirc;ne <parameter>$fonctionDIdentification = ""</parameter></paramdef> + <paramdef>chaîne <parameter>$fonctionDIdentification = ""</parameter></paramdef> <paramdef>bool&eacute;en <parameter><optional>$showLogin = &true;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> @@ -34,7 +35,8 @@ </term> <listitem> <para> - nom du driver de stockage qui devra &ecirc;tre employ&eacute; + nom du driver de stockage qui devra être employé, + ou un objet Auth_Container customisé. </para> </listitem> </varlistentry> @@ -92,7 +94,7 @@ <refsect1 id="package.authentication.auth.auth.auth.example"> &title.example; <example> - <title>Utilisation de diff&eacute;rents param&egrave;tres de DB</title> + <title>Utilisation de différents paramètres de DB</title> <programlisting role="php"> <![CDATA[ <?php @@ -146,6 +148,44 @@ </para> </refsect1> + <refsect1 id="package.authentication.auth.auth.auth.example-customcont"> + &title.example; + <example> + <title>Utilisation de différents paramètres de DB</title> + <programlisting role="php"> +<![CDATA[ + <?php + require_once "Auth/Auth.php"; + + function myOutput($username, $status) + { + ... /** regardez l'exemple 1 pour le source complet */ + } + + $a = new Auth(new CustomAuthContainer($options), null, "myOutput"); + + $a->start(); + + if ($a->getAuth()) { + echo "Vous avez été authentifié avec succès."; + } + ?> +]]> + </programlisting> + </example> + <para> + Cet exemple montre comment vous pouvez passer votre propre conteneur à Auth. + </para> + <para> + If the storage containers supplied with Auth are not capable + of fulfilling your requirements, you can easliy create your own + storage container. + Pour plus d'info, lisez la section à propos des conteneurs de stockage + <link linkend="package.authentication.auth.intro-storage"> + Introduction - The storage drivers + </link> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.pear.doc (#4962) next »