cvs: peardoc /fr/package/authentication/auth/auth auth.xml getstatus.xml getusername.xml setadvancedsecurity.xml setsessionname.xml start.xml

From: Date: Mon, 11 Sep 2006 04:02:49 +0000
Subject: cvs: peardoc /fr/package/authentication/auth/auth auth.xml getstatus.xml getusername.xml setadvancedsecurity.xml setsessionname.xml start.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8414@lists.php.net to get a copy of this message
yannick Mon Sep 11 04:02:49 2006 UTC Modified files: /peardoc/fr/package/authentication/auth/auth auth.xml getstatus.xml getusername.xml setadvancedsecurity.xml setsessionname.xml start.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/auth.xml?r1=1.6&r2=1.7&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/auth.xml diff -u peardoc/fr/package/authentication/auth/auth/auth.xml:1.6 peardoc/fr/package/authentication/auth/auth/auth.xml:1.7 --- peardoc/fr/package/authentication/auth/auth/auth.xml:1.6 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/auth.xml Mon Sep 11 04:02:49 2006 @@ -1,34 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.12 Maintainer: moosh Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.13 Maintainer: moosh Status: ready --> <refentry id="package.authentication.auth.auth.auth"> <refnamediv> <refname>Auth::Auth()</refname> - <refpurpose>constructeur</refpurpose> + <refpurpose>Constructeur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Auth::Auth</function></funcdef> - <paramdef> - &type.mixed; - <parameter>$storageDriver = "DB"</parameter> - </paramdef> - <paramdef> - &type.mixed; - <parameter>$options = ""</parameter> - </paramdef> - <paramdef> - &type.string; - <parameter>$fonctionDIdentification = ""</parameter> - </paramdef> - <paramdef> - &type.bool; - <parameter> - <optional>$showLogin = &true;</optional> - </parameter> - </paramdef> + <paramdef>mixed <parameter>$storageDriver</parameter></paramdef> + <paramdef>mixed <parameter><optional>$options = ""</optional></parameter></paramdef> + <paramdef>string <parameter><optional>$loginFunction = ""</optional></parameter></paramdef> + <paramdef>boolean <parameter><optional>$showLogin = &true;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> @@ -36,8 +22,14 @@ <refsect1 id="package.authentication.auth.auth.auth.desc"> &title.desc; <para> - Constructeur pour le système d'authentification. + Constructeur pour le système d'identification. </para> + <para> + Le constructeur assure que le gestionnaire de session PHP est démarré via + l'appel à la fonction <function>session_start</function>. Ceci est fait + car le système d'identification nécessite l'activation d'une session pour + fonctionner correctement. + </para> </refsect1> <refsect1 id="package.authentication.auth.auth.auth.parameter"> &title.param; http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/getstatus.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/getstatus.xml diff -u peardoc/fr/package/authentication/auth/auth/getstatus.xml:1.3 peardoc/fr/package/authentication/auth/auth/getstatus.xml:1.4 --- peardoc/fr/package/authentication/auth/auth/getstatus.xml:1.3 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/getstatus.xml Mon Sep 11 04:02:49 2006 @@ -1,20 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.4 Maintainer: moosh Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: moosh Status: ready --> <refentry id="package.authentication.auth.auth.getstatus"> <refnamediv> <refname>Auth::getStatus()</refname> - <refpurpose> - retourne l'état de l'authentification en cours - </refpurpose> + <refpurpose>Récupère l'état de l'identification en cours</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> - <funcdef>chaîne - <function>Auth::getStatus</function> - </funcdef> + <funcdef>int <function>Auth_HTTP::getStatus</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> @@ -22,31 +18,25 @@ <refsect1 id="package.authentication.auth.auth.getstatus.desc"> &title.desc; <para> - Cette fonction renvoie l'état actuel de PEAR::Auth. - La valeur de retour est une des constantes - qui sont définies par PEAR::Auth. + Récupère le statut courant de la session d'identification. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.getstatus.return"> &title.returns; - <para> - <parameter>chaîne</parameter> - - les valeurs possibles sont - <constant>AUTH_IDLED</constant>, - <constant>AUTH_EXPIRED</constant>, - <constant>AUTH_WRONG_LOGIN</constant> - </para> + <para> + <parameter>int</parameter> - + Une constante d'identification représentant le statut courant de la session. + </para> </refsect1> <refsect1 id="package.authentication.auth.auth.getstatus.note"> &title.note; &note.notstatic; - </refsect1> <refsect1 id="package.authentication.auth.auth.getstatus.see"> &title.see; <para> - <link linkend="package.authentication.auth.constants">Vue - d'ensemble de constantes de PEAR::Auth</link> + Les <link linkend="package.authentication.auth.constants"> + <quote>constantes d'identification</quote></link>. </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/getusername.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/getusername.xml diff -u peardoc/fr/package/authentication/auth/auth/getusername.xml:1.2 peardoc/fr/package/authentication/auth/auth/getusername.xml:1.3 --- peardoc/fr/package/authentication/auth/auth/getusername.xml:1.2 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/getusername.xml Mon Sep 11 04:02:49 2006 @@ -1,28 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.authentication.auth.auth.getusername"> <refnamediv> <refname>Auth::getUsername()</refname> - <refpurpose> - Récupère le nom de l'utilisateur de la session courante d'identification - </refpurpose> + <refpurpose>Récupère le nom de l'utilisateur identifié</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> - <funcdef>string <function>Auth::getUsername</function></funcdef> - <paramdef /> + <funcdef>string <function>Auth_HTTP::getUsername</function></funcdef> + <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.authentication.auth.auth.getusername.desc"> &title.desc; <para> - En utilisant cette m&eacute;thode, vous pouvez uniquement récupérer le nom de l'utilisateur - (aussi connu sous le nom de <quote>user id</quote>) de la session - courante d'identification. + Récupère le nom de l'utilisateur identifié. + </para> + </refsect1> + <refsect1 id="package.authentication.auth.auth.getusername.return"> + &title.returns; + <para> + <parameter>string</parameter> - + Le nom de l'utilisateur identifié. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.getusername.note"> http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml diff -u peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml:1.3 peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml:1.4 --- peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml:1.3 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/setadvancedsecurity.xml Mon Sep 11 04:02:49 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.authentication.auth.auth.setadvancedsecurity"> <refnamediv> @@ -11,7 +11,7 @@ <funcsynopsis> <funcprototype> <funcdef>void <function>Auth::setAdvancedSecurity</function></funcdef> - <paramdef>bool <parameter>$flag = true</parameter></paramdef> + <paramdef>bool <parameter><optional>$flag = true</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/setsessionname.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/setsessionname.xml diff -u peardoc/fr/package/authentication/auth/auth/setsessionname.xml:1.3 peardoc/fr/package/authentication/auth/auth/setsessionname.xml:1.4 --- peardoc/fr/package/authentication/auth/auth/setsessionname.xml:1.3 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/setsessionname.xml Mon Sep 11 04:02:49 2006 @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: moosh Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: moosh Status: ready --> <refentry id="package.authentication.auth.auth.setsessionname"> <refnamediv> - <refname>Auth::setSessionname()</refname> + <refname>Auth::setSessionName()</refname> <refpurpose>Fixe le nom de la session</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> - <funcdef>&type.void; <function>Auth::setSessionname</function></funcdef> - <paramdef>&type.string; <parameter>nom</parameter></paramdef> + <funcdef>void <function>Auth::setSessionName</function></funcdef> + <paramdef>string <parameter>$name</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -20,7 +20,7 @@ <para> Cette fonction peut fixer un nom adapté à la session qui sera créee pendant la procédure de login - Le nom par défaut est celui de php, soit &quot;PHPSESSID&quot;. + Le nom par défaut est celui de php, soit &quot;PHPSESSID&quot;. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.setsessionname.parameter"> @@ -45,7 +45,7 @@ &title.note; &note.notstatic; <para> - Vous devez employer <function>setSessionname</function>, + Vous devez utiliser <function>setSessionName</function>, si vous executez plusieurs applications utilisant Auth sur le même domaine. Si vous n'employez pas cette fonction, http://cvs.php.net/viewvc.cgi/peardoc/fr/package/authentication/auth/auth/start.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/fr/package/authentication/auth/auth/start.xml diff -u peardoc/fr/package/authentication/auth/auth/start.xml:1.3 peardoc/fr/package/authentication/auth/auth/start.xml:1.4 --- peardoc/fr/package/authentication/auth/auth/start.xml:1.3 Sun Aug 27 10:55:42 2006 +++ peardoc/fr/package/authentication/auth/auth/start.xml Mon Sep 11 04:02:49 2006 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: moosh Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.authentication.auth.auth.start"> <refnamediv> <refname>Auth::start()</refname> - <refpurpose>Démarre l'authentification</refpurpose> + <refpurpose>Démarre l'identification</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -18,7 +18,13 @@ <refsect1 id="package.authentication.auth.auth.start.desc"> &title.desc; <para> - Entame une procédure d'authentification. + Démarre une procédure d'identification. Pour se faire, Auth vérifie une session + existante et vérifie sa validité. S'il n'y a aucune session existante ou si + la session précédente s'est terminée pour une raison ou une autre, + alors le formulaire d'identification est généré soit via une fonction + de callback spécifique, soit en utilisant le formulaire par défaut + implémenté dans + <link linkend="package.authentication.auth.auth-frontend-html"><classname>Auth_Frontend_HTML</classname></link>. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.start.note">
« previous php.pear.doc (#8414) next »