[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/ -> class.auth_sql.inc.php (sommaire)

(pas de description)

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

Définit 1 class

auth_:: (4 méthodes):
  auth_()
  authenticate()
  change_password()
  _update_passwd()


Classe: auth_  - X-Ref

auth_()   X-Ref
Pas de description

authenticate($username, $passwd, $passwd_type='text')   X-Ref
password authentication against password stored in sql datababse

param: string $username username of account to authenticate
param: string $passwd corresponding password
param: string $passwd_type='text' 'text' for cleartext passwords (default)
return: boolean true if successful authenticated, false otherwise

change_password($old_passwd, $new_passwd, $account_id=0)   X-Ref
changes password in sql datababse

param: string $old_passwd must be cleartext
param: string $new_passwd must be cleartext
param: int $account_id account id of user whose passwd should be changed
return: boolean true if password successful changed, false otherwise

_update_passwd($encrypted_passwd,$new_passwd,$account_id,$admin=false)   X-Ref
changes password in sql datababse

param: string $encrypted_passwd
param: string $new_passwd cleartext
param: int $account_id account id of user whose passwd should be changed
param: boolean $admin=false called by admin, if not update password in the session
return: boolean true if password successful changed, false otherwise



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