Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUser.php
Show All 23 Lines | implements | ||||
PhabricatorPasswordHashInterface { | PhabricatorPasswordHashInterface { | ||||
const SESSION_TABLE = 'phabricator_session'; | const SESSION_TABLE = 'phabricator_session'; | ||||
const NAMETOKEN_TABLE = 'user_nametoken'; | const NAMETOKEN_TABLE = 'user_nametoken'; | ||||
const MAXIMUM_USERNAME_LENGTH = 64; | const MAXIMUM_USERNAME_LENGTH = 64; | ||||
protected $userName; | protected $userName; | ||||
protected $realName; | protected $realName; | ||||
protected $passwordSalt; | |||||
protected $passwordHash; | |||||
protected $profileImagePHID; | protected $profileImagePHID; | ||||
protected $defaultProfileImagePHID; | protected $defaultProfileImagePHID; | ||||
protected $defaultProfileImageVersion; | protected $defaultProfileImageVersion; | ||||
protected $availabilityCache; | protected $availabilityCache; | ||||
protected $availabilityCacheTTL; | protected $availabilityCacheTTL; | ||||
protected $conduitCertificate; | protected $conduitCertificate; | ||||
▲ Show 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | final class PhabricatorUser | ||||
} | } | ||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'userName' => 'sort64', | 'userName' => 'sort64', | ||||
'realName' => 'text128', | 'realName' => 'text128', | ||||
'passwordSalt' => 'text32?', | |||||
'passwordHash' => 'text128?', | |||||
'profileImagePHID' => 'phid?', | 'profileImagePHID' => 'phid?', | ||||
'conduitCertificate' => 'text255', | 'conduitCertificate' => 'text255', | ||||
'isSystemAgent' => 'bool', | 'isSystemAgent' => 'bool', | ||||
'isMailingList' => 'bool', | 'isMailingList' => 'bool', | ||||
'isDisabled' => 'bool', | 'isDisabled' => 'bool', | ||||
'isAdmin' => 'bool', | 'isAdmin' => 'bool', | ||||
'isEmailVerified' => 'uint32', | 'isEmailVerified' => 'uint32', | ||||
'isApproved' => 'uint32', | 'isApproved' => 'uint32', | ||||
▲ Show 20 Lines • Show All 1,431 Lines • Show Last 20 Lines |