[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/includes/pear/Auth/ -> Container.php (sommaire)

(pas de description)

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

Définit 1 class

Auth_Container:: (6 méthodes):
  Auth_Container()
  fetchData()
  verifyPassword()
  listUsers()
  addUser()
  removeUser()


Classe: Auth_Container  - X-Ref

Storage class for fetching login data

Auth_Container()   X-Ref
Constructor

Has to be overwritten by each storage class


fetchData()   X-Ref
Fetch data from storage container

Has to be overwritten by each storage class


verifyPassword($password1, $password2, $cryptType = "md5")   X-Ref
Crypt and verfiy the entered password

param: string Entered password
param: string Password from the data container (usually this password
param: string Type of algorithm with which the password from
return: bool   True, if the passwords match

listUsers()   X-Ref
List all users that are available from the storage container


addUser($username, $password, $additional=null)   X-Ref
Add a new user to the storage container

param: string Username
param: string Password
param: array  Additional information
return: boolean

removeUser($username)   X-Ref
Remove user from the storage container

param: string Username



Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics