Class jAuthDriverBase

Description

base class for some jAuth drivers

Located in /auth/jAuthDriverBase.class.php (line 13)


	
			
Direct descendents
Class Description
classAuthDriver Driver for a class which implement an authentification
dbAuthDriver authentification driver for authentification information stored in a database
ldapAuthDriver LDAP authentification driver for authentification information stored in LDAP server
Variable Summary
Method Summary
jAuthDriverBase __construct ( $params)
boolean|string checkPassword (string $givenPassword, string $currentPasswordHash)
string cryptPassword (string $password, [ $forceOldHash = false])
Variables
mixed $passwordHashMethod (line 16)
  • access: protected
mixed $passwordHashOptions (line 17)
  • access: protected
mixed $_params (line 15)
  • access: protected
Methods
Constructor __construct (line 19)
jAuthDriverBase __construct ( $params)
  • $params

Redefined in descendants as:
checkPassword (line 60)
  • return: false if password does not correspond. True if it is ok. A string containing a new hash if it is ok and need to store a new hash
  • access: public
boolean|string checkPassword (string $givenPassword, string $currentPasswordHash)
  • string $givenPassword: the password to verify
  • string $currentPasswordHash: the hash of the real password
cryptPassword (line 30)

hash the given password

  • return: the hash password
  • access: public
string cryptPassword (string $password, [ $forceOldHash = false])
  • string $password: the password to hash
  • $forceOldHash

Documentation generated on Wed, 24 Sep 2014 21:56:23 +0200 by phpDocumentor 1.4.3