Class Authentification

Description
  • license: GPL
  • version: 1.0
  • dependance: activation de l'extension php_ldap
  • dependance: si CAS comme serveur d'authentification activation de l'extension=php_curl.dll
  • module: Authentification
  • description: gestion des bases d'authentification mysql, ldap et cas
  • author: Nordine Zetoutou - <nzetoutou@educagri.fr>

Located in /Authentification/Authentification.php (line 30)


	
			
Variable Summary
mixed $sTableLogin
Method Summary
Authentification Authentification ()
mixed getAuthMode ()
object ldap_authenticate (object $oBase, string $login,  $pass, string $pass )
void mysql_authenticate ( $oMysql,  $ldap_user_id, object $oUser)
Variables
mixed $sTableLogin = 'user_id' (line 32)
Methods
Constructor Authentification (line 34)
Authentification Authentification ()
getAuthMode (line 43)
  • return: object|bool $oBase ou false
  • description: charge le mode d'authentification extrene
mixed getAuthMode ()
ldap_authenticate (line 74)
  • description: authentifie un utilisateur dans l'annuaire ldap
object ldap_authenticate (object $oBase, string $login,  $pass, string $pass )
  • object $oBase: : config du serveur d'authentification
  • string $login
  • string $pass
  • $pass
mysql_authenticate (line 136)
  • description: récupère un utilisateur de la base mysql
void mysql_authenticate ( $oMysql,  $ldap_user_id, object $oUser)
  • object $oUser:

    : possédant entre autres son id ldap

    return object $oUser

  • $oMysql
  • $ldap_user_id

Documentation generated on Wed, 22 Nov 2006 11:41:03 +0100 by phpDocumentor 1.3.0RC6