Interface jIAuthDriverClass

Description

interface for classes used with the jAuthDriverClass

  • see: jAuth
  • since: 1.0b2

Located in /plugins/auth/class/class.auth.php (line 19)


	
			
Method Summary
object user createUserObject ()
void deleteByLogin (string $login)
array findAll ()
array findByLoginPattern (string $pattern)
object user getByLogin (string $login)
object user getByLoginPassword (string $login,  $cryptedpassword, string $password)
void insert (object $user)
void update (object $user)
void updatePassword (string $login,  $cryptedpassword, string $password)
Methods
createUserObject (line 49)

create an empty object which will contains user informations

  • return: informations (empty)
  • access: public
object user createUserObject ()
deleteByLogin (line 30)

delete a user

  • access: public
void deleteByLogin (string $login)
  • string $login: login of the user to delete
findAll (line 55)

gets all users

  • return: list of users
  • access: public
array findAll ()
findByLoginPattern (line 62)

gets all users for which the login corresponds to the given pattern

  • return: list of users
  • access: public
array findByLoginPattern (string $pattern)
  • string $pattern: the pattern
getByLogin (line 43)

get user informations

  • return: informations
  • access: public
object user getByLogin (string $login)
  • string $login: login of the user on which we want to get informations
getByLoginPassword (line 77)

get the user corresponding to the given login and encrypted password

  • return: informations
  • access: public
object user getByLoginPassword (string $login,  $cryptedpassword, string $password)
  • string $login: the user login
  • string $password: the new encrypted password
  • $cryptedpassword
insert (line 24)

save a new user

  • access: public
void insert (object $user)
  • object $user: user informations
update (line 36)

update user informations

  • access: public
void update (object $user)
  • object $user: user informations
updatePassword (line 69)

change the password of a user

  • access: public
void updatePassword (string $login,  $cryptedpassword, string $password)
  • string $login: the user login
  • string $password: the new encrypted password
  • $cryptedpassword

Documentation generated on Wed, 07 Sep 2011 13:46:29 +0200 by phpDocumentor 1.4.3