Class jAuthDriverBase

Description

base class for some jAuth drivers

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


	
			
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 17)
  • access: protected
mixed $passwordHashOptions (line 18)
  • access: protected
mixed $_params (line 16)
  • access: protected
Methods
Constructor __construct (line 20)
jAuthDriverBase __construct ( $params)
  • $params

Redefined in descendants as:
checkPassword (line 61)
  • 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 31)

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, 04 Jan 2017 22:52:15 +0100 by phpDocumentor 1.4.3