cvs: peardoc /en/package/authentication auth.xml /en/package/authentication/auth constants.xml /en/package/authentication/auth/auth
setcheckauthcallback.xml

From: Date: Wed, 06 Dec 2006 01:20:54 +0000
Subject: cvs: peardoc /en/package/authentication auth.xml /en/package/authentication/auth constants.xml /en/package/authentication/auth/auth
setcheckauthcallback.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9006@lists.php.net to get a copy of this message
aashley Wed Dec 6 01:20:54 2006 UTC Added files: /peardoc/en/package/authentication/auth/auth setcheckauthcallback.xml Modified files: /peardoc/en/package/authentication auth.xml /peardoc/en/package/authentication/auth constants.xml Log: Update Auth documentation for Release 1.4.3 http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth.xml?r1=1.9&r2=1.10&diff_format=u Index: peardoc/en/package/authentication/auth.xml diff -u peardoc/en/package/authentication/auth.xml:1.9 peardoc/en/package/authentication/auth.xml:1.10 --- peardoc/en/package/authentication/auth.xml:1.9 Fri Dec 1 09:41:47 2006 +++ peardoc/en/package/authentication/auth.xml Wed Dec 6 01:20:54 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <sect1 id="package.authentication.auth"> <title>Auth</title> @@ -47,6 +47,7 @@ &package.authentication.auth.auth.setallowlogin; &package.authentication.auth.auth.setauth; &package.authentication.auth.auth.setauthdata; + &package.authentication.auth.auth.setcheckauthcallback; &package.authentication.auth.auth.setexpire; &package.authentication.auth.auth.setfailedlogincallback; &package.authentication.auth.auth.setidle; http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/en/package/authentication/auth/constants.xml diff -u peardoc/en/package/authentication/auth/constants.xml:1.3 peardoc/en/package/authentication/auth/constants.xml:1.4 --- peardoc/en/package/authentication/auth/constants.xml:1.3 Mon Sep 11 02:11:21 2006 +++ peardoc/en/package/authentication/auth/constants.xml Wed Dec 6 01:20:54 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.authentication.auth.constants"> <refnamediv> <refname>&title.constants;</refname> @@ -48,7 +48,16 @@ -5 </para> <para> - Returned if the asvanced security checking detects a breach. + Returned if the advanced security checking detects a breach. + </para> + </refsect1> + <refsect1 id="package.authentication.auth.constants.auth-callback-abort"> + <title><constant>AUTH_CALLBACK_ABORT</constant></title> + <para> + -6 + </para> + <para> + Returned if the checkAuth callback function aborted the session. </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/auth/setcheckauthcallback.xml?view=markup&rev=1.1 Index: peardoc/en/package/authentication/auth/auth/setcheckauthcallback.xml +++ peardoc/en/package/authentication/auth/auth/setcheckauthcallback.xml <!-- $Revision: 1.1 $ --> <refentry id="package.authentication.auth.auth.setcheckauthcallback"> <refnamediv> <refname>Auth::setCheckAuthCallback()</refname> <refpurpose>set a callback to run when ever session validity is checked</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>Auth::setCheckAuthCallback</function></funcdef> <paramdef>string <parameter>$checkAuthCallback</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.authentication.auth.auth.setcheckauthcallback.desc"> &title.desc; <para> This function sets a callback function which is called whenever the validity of a logged in session is checked. This callback can be used to perform actions like checking the authentication source to see if the logged in user is still enabled. </para> <para> The callback function will be passed two parameters, the username that successfully logged in and a reference to the Auth object. The callback function should return a boolean depending upon whether the session should continue or not. &true; to allow the session to continue, &false; to abort the session. </para> <para> If the session is aborted by this callback the status will be set to <constant>AUTH_CALLBACK_ABORT</constant>. </para> </refsect1> <refsect1 id="package.authentication.auth.auth.setcheckauthcallback.parameter"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$checkAuthCallback</parameter> </term> <listitem> <para> the call back function to use </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.authentication.auth.auth.setcheckauthcallback.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 (#9006) next »