eZPublish  3.8
ezuser.php File Reference

Classes

class  eZUser
 eZUser handles eZ publish user accounts More...
 

Variables

 $GLOBALS ['eZUserBuiltins'] = array( EZ_USER_ANONYMOUS_ID )
 
 $ini =& eZINI::instance()
 
const EZ_USER_ANONYMOUS_ID (int)$ini->variable( 'UserSettings', 'AnonymousUserID' )
 
const EZ_USER_AUTHENTICATE_ALL EZ_USER_AUTHENTICATE_LOGIN | EZ_USER_AUTHENTICATE_EMAIL
 
const EZ_USER_AUTHENTICATE_EMAIL 1 << 1
 Authenticate by matching the email field. More...
 
const EZ_USER_AUTHENTICATE_LOGIN 1 << 0
 Authenticate by matching the login field. More...
 
const EZ_USER_PASSWORD_HASH_MD5_PASSWORD 1
 MD5 of password. More...
 
const EZ_USER_PASSWORD_HASH_MD5_SITE 3
 MD5 of site, user and password. More...
 
const EZ_USER_PASSWORD_HASH_MD5_USER 2
 MD5 of user and password. More...
 
const EZ_USER_PASSWORD_HASH_MYSQL 4
 Legacy support for mysql hashed passwords. More...
 
const EZ_USER_PASSWORD_HASH_PLAINTEXT 5
 Passwords in plaintext, should not be used for real sites. More...
 

Variable Documentation

$GLOBALS['eZUserBuiltins'] = array( EZ_USER_ANONYMOUS_ID )
$ini =& eZINI::instance()
const EZ_USER_AUTHENTICATE_ALL EZ_USER_AUTHENTICATE_LOGIN | EZ_USER_AUTHENTICATE_EMAIL
const EZ_USER_AUTHENTICATE_EMAIL 1 << 1
const EZ_USER_AUTHENTICATE_LOGIN 1 << 0

Authenticate by matching the login field.

Referenced by eZUser\authenticationMatch(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), and eZUser\loginUser().

const EZ_USER_PASSWORD_HASH_MD5_PASSWORD 1
const EZ_USER_PASSWORD_HASH_MD5_SITE 3
const EZ_USER_PASSWORD_HASH_MD5_USER 2
const EZ_USER_PASSWORD_HASH_MYSQL 4
const EZ_USER_PASSWORD_HASH_PLAINTEXT 5

Passwords in plaintext, should not be used for real sites.

Referenced by eZUser\createHash(), eZUser\hashType(), eZUser\passwordHashTypeID(), and eZUser\passwordHashTypeName().