[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

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

(pas de description)

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

Définit 1 class

Auth_http:: (5 méthodes):
  Auth_http()
  _authenticate()
  _getLoginScreen()
  listUsers()
  transparent()


Classe: Auth_http  - X-Ref

The Auth_http class transparently logs users in to Horde using
already present HTTP authentication headers.

The 'encryption' parameter specifies what kind of passwords are in
the .htpasswd file. The supported options are 'crypt-des' (standard
crypted htpasswd entries) and 'aprmd5'. This information is used if
you want to directly authenticate users with this driver, instead
of relying on transparent auth.

$Horde: framework/Auth/Auth/http.php,v 1.21.10.9 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_http($params = array()   X-Ref
Constructs a new HTTP authentication object.

param: array $params  A hash containing parameters.

_authenticate($userId, $credentials)   X-Ref
Find out if a set of login credentials are valid. Only supports
htpasswd files with DES passwords right now.

param: string $userId       The userId to check.
param: array  $credentials  An array of login credentials. For IMAP,
return: boolean  Whether or not the credentials are valid.

_getLoginScreen($app = 'horde', $url = '')   X-Ref
Return the URI of the login screen for this authentication object.

param: string $app  The application to use.
param: string $url  The URL to redirect to after login.
return: string  The login screen URI.

listUsers()   X-Ref
List all users in the system.

return: mixed  The array of userIds, or a PEAR_Error object on failure.

transparent()   X-Ref
Automatic authentication: Find out if the client has HTTP
authentication info present.

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