[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Auth/ -> auto.php (sommaire)

(pas de description)

Poids: 85 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Auth_auto:: (3 méthodes):
  Auth_auto()
  _setParams()
  transparent()


Classe: Auth_auto  - X-Ref

The Auth_auto class transparently logs users in to Horde using ONE
username, either defined in the config or defaulting to
'horde_user'. This is only for use in testing or behind a firewall;
it should NOT be used on a public, production machine.

Optional parameters:<pre>
'username'     The username to authenticate everyone as.
DEFAULT: 'horde_user'
'password'     The password to record in the user's credentials.
DEFAULT: none
'requestuser'  If true, allow username to be passed by GET, POST or
cookie.</pre>


$Horde: framework/Auth/Auth/auto.php,v 1.12.4.8 2006/01/01 21:28:07 jan Exp $

Copyright 1999-2006 Chuck Hagenbuch <chuck@horde.org>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Auth_auto($params = array()   X-Ref
Constructs a new Automatic authentication object.

param: array $params  A hash containing parameters.

_setParams($params)   X-Ref
Set parameters for the Auth_auto object.

param: array $params  Parameters. None currently required;

transparent()   X-Ref
Automatic authentication: Set the user allowed IP block.

return: boolean  Whether or not the client is allowed.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7