Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUser.php
Show All 15 Lines | implements | ||||
PhabricatorCustomFieldInterface, | PhabricatorCustomFieldInterface, | ||||
PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
PhabricatorSSHPublicKeyInterface, | PhabricatorSSHPublicKeyInterface, | ||||
PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorFulltextInterface, | PhabricatorFulltextInterface, | ||||
PhabricatorFerretInterface, | PhabricatorFerretInterface, | ||||
PhabricatorConduitResultInterface, | PhabricatorConduitResultInterface, | ||||
PhabricatorPasswordHashInterface { | PhabricatorAuthPasswordHashInterface { | ||||
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 $profileImagePHID; | protected $profileImagePHID; | ||||
▲ Show 20 Lines • Show All 1,527 Lines • ▼ Show 20 Lines | if (!isset($variables[$variable_key])) { | ||||
pht( | pht( | ||||
'Unknown CSS variable "%s"!', | 'Unknown CSS variable "%s"!', | ||||
$variable_key)); | $variable_key)); | ||||
} | } | ||||
return $variables[$variable_key]; | return $variables[$variable_key]; | ||||
} | } | ||||
/* -( PhabricatorPasswordHashInterface )----------------------------------- */ | /* -( PhabricatorAuthPasswordHashInterface )------------------------------- */ | ||||
public function newPasswordDigest( | public function newPasswordDigest( | ||||
PhutilOpaqueEnvelope $envelope, | PhutilOpaqueEnvelope $envelope, | ||||
PhabricatorAuthPassword $password) { | PhabricatorAuthPassword $password) { | ||||
// Before passwords are hashed, they are digested. The goal of digestion | // Before passwords are hashed, they are digested. The goal of digestion | ||||
// is twofold: to reduce the length of very long passwords to something | // is twofold: to reduce the length of very long passwords to something | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |