cvs: peardoc /en/package/authentication auth.xml /en/package/authentication/auth/auth getusername.xml sessionvalidthru.xml setidle.xml

From: Date: Sun, 13 Jun 2004 10:04:57 +0000
Subject: cvs: peardoc /en/package/authentication auth.xml /en/package/authentication/auth/auth getusername.xml sessionvalidthru.xml setidle.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4397@lists.php.net to get a copy of this message
mj Sun Jun 13 06:04:57 2004 EDT Added files: /peardoc/en/package/authentication/auth/auth getusername.xml sessionvalidthru.xml setidle.xml Modified files: /peardoc/en/package/authentication auth.xml Log: * Added documentation for getUsername(), sessionValidThru() and setIdle() http://cvs.php.net/diff.php/peardoc/en/package/authentication/auth.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/authentication/auth.xml diff -u peardoc/en/package/authentication/auth.xml:1.4 peardoc/en/package/authentication/auth.xml:1.5 --- peardoc/en/package/authentication/auth.xml:1.4 Thu Jun 5 01:21:44 2003 +++ peardoc/en/package/authentication/auth.xml Sun Jun 13 06:04:57 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <sect1 id="package.authentication.auth"> <title>Auth</title> @@ -12,8 +12,11 @@ &package.authentication.auth.auth.auth; &package.authentication.auth.auth.getauth; &package.authentication.auth.auth.getstatus; + &package.authentication.auth.auth.getusername; + &package.authentication.auth.auth.sessionvalidthru; &package.authentication.auth.auth.setsessionname; &package.authentication.auth.auth.setexpire; + &package.authentication.auth.auth.setidle; &package.authentication.auth.auth.start; </sect1> http://cvs.php.net/co.php/peardoc/en/package/authentication/auth/auth/getusername.xml?r=1.1&p=1 Index: peardoc/en/package/authentication/auth/auth/getusername.xml +++ peardoc/en/package/authentication/auth/auth/getusername.xml <!-- $Revision: 1.1 $ --> <refentry id="package.authentication.auth.auth.getusername"> <refnamediv> <refname>Auth::getUsername()</refname> <refpurpose> get the username of the current authentication session </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>Auth::getUsername</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.authentication.auth.auth.getusername.desc"> &title.desc; <para> Using this method, one can retrieve the username (often also referred to as the <quote>user id</quote>) of the user of the current authentication session. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.getusername.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/en/package/authentication/auth/auth/sessionvalidthru.xml?r=1.1&p=1 Index: peardoc/en/package/authentication/auth/auth/sessionvalidthru.xml +++ peardoc/en/package/authentication/auth/auth/sessionvalidthru.xml <!-- $Revision: 1.1 $ --> <refentry id="package.authentication.auth.auth.sessionvalidthru"> <refnamediv> <refname>Auth::sessionValidThru()</refname> <refpurpose> get the time up to the session is valid </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>Auth::sessionValidThru</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.authentication.auth.auth.sessionvalidthru.desc"> &title.desc; <para> This method returns the time in seconds after which the idle time of the current authentication session has reached its limit, which will cause the user to be logged out automatically. If no maximum idle time is set, which is the default configuration of <classname>PEAR::Auth</classname>, this method will return 0. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.sessionvalidthru.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/en/package/authentication/auth/auth/setidle.xml?r=1.1&p=1 Index: peardoc/en/package/authentication/auth/auth/setidle.xml +++ peardoc/en/package/authentication/auth/auth/setidle.xml <!-- $Revision: 1.1 $ --> <refentry id="package.authentication.auth.auth.setidle"> <refnamediv> <refname>Auth::setIdle()</refname> <refpurpose>set maximum idle time for authentication</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>Auth::setIdle</function></funcdef> <paramdef>integer <parameter>$time</parameter></paramdef> <paramdef>boolean <parameter><optional>$add = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.authentication.auth.auth.setidle.desc"> &title.desc; <para> With this function one can set the maximum idle time to a new value. The term <quote>idle time</quote> describes the maximum time interval (in seconds) between two actions by the user. If the maximum idle time is reached, the user will be automatically logged out. If on the other hand the user performs any action within the maximum idle time interval, the idle time is reset. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.setidle.parameter"> &title.param; <para> <variablelist> <varlistentry> <term> &type.int; <parameter>$time</parameter> </term> <listitem> <para> idle time in seconds </para> </listitem> </varlistentry> <varlistentry> <term> &type.bool; <parameter>$add</parameter> </term> <listitem> <para> if &true; <parameter>$time</parameter> is added to the existing idle time, if &false; the existing time value will be replaced. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.authentication.auth.auth.setidle.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 (#4397) next »