[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/people/storage/ -> PhabricatorUser.php (summary)

(no description)

File Size: 950 lines (27 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 60 functions

  readField()
  isUserActivated()
  getIsStandardUser()
  getConfiguration()
  generatePHID()
  setPassword()
  getSex()
  getMonogram()
  getTranslation()
  isLoggedIn()
  save()
  attachSession()
  getSession()
  hasSession()
  generateConduitCertificate()
  comparePassword()
  getPasswordHashInput()
  hashPassword()
  getRawCSRFToken()
  getCSRFToken()
  validateCSRFToken()
  generateToken()
  attachUserProfile()
  loadUserProfile()
  loadPrimaryEmailAddress()
  loadPrimaryEmail()
  loadPreferences()
  loadEditorLink()
  getAlternateCSRFString()
  attachAlternateCSRFString()
  updateNameTokens()
  sendWelcomeEmail()
  sendUsernameChangeEmail()
  describeValidUsername()
  validateUsername()
  getDefaultProfileImageURI()
  attachStatus()
  getStatus()
  hasStatus()
  attachProfileImageURI()
  getProfileImageURI()
  loadProfileImageURI()
  getFullName()
  __toString()
  loadOneWithEmailAddress()
  updateMultiFactorEnrollment()
  getIsEnrolledInMultiFactor()
  isOmnipotent()
  getOmnipotentUser()
  getCapabilities()
  getPolicy()
  hasAutomaticCapability()
  describeAutomaticCapability()
  getCustomFieldSpecificationForRole()
  getCustomFieldBaseClass()
  getCustomFields()
  attachCustomFields()
  destroyObjectPermanently()
  getSSHPublicKeyManagementURI()
  getSSHKeyDefaultName()

Functions
Functions that are not part of a class:

readField($field)   X-Ref


isUserActivated()   X-Ref
Is this a live account which has passed required approvals? Returns true
if this is an enabled, verified (if required), approved (if required)
account, and false otherwise.

return: bool True if this is a standard, usable account.

getIsStandardUser()   X-Ref
Returns `true` if this is a standard user who is logged in. Returns `false`
for logged out, anonymous, or external users.

return: bool `true` if the user is a standard user who is logged in with

getConfiguration()   X-Ref
No description

generatePHID()   X-Ref
No description

setPassword(PhutilOpaqueEnvelope $envelope)   X-Ref
No description

getSex()   X-Ref
No description

getMonogram()   X-Ref
No description

getTranslation()   X-Ref
No description

isLoggedIn()   X-Ref
No description

save()   X-Ref
No description

attachSession(PhabricatorAuthSession $session)   X-Ref
No description

getSession()   X-Ref
No description

hasSession()   X-Ref
No description

generateConduitCertificate()   X-Ref
No description

comparePassword(PhutilOpaqueEnvelope $envelope)   X-Ref
No description

getPasswordHashInput(PhutilOpaqueEnvelope $password)   X-Ref
No description

hashPassword(PhutilOpaqueEnvelope $password)   X-Ref
No description

getRawCSRFToken($offset = 0)   X-Ref
No description

getCSRFToken()   X-Ref


validateCSRFToken($token)   X-Ref
No description

generateToken($epoch, $frequency, $key, $len)   X-Ref
No description

attachUserProfile(PhabricatorUserProfile $profile)   X-Ref
No description

loadUserProfile()   X-Ref
No description

loadPrimaryEmailAddress()   X-Ref
No description

loadPrimaryEmail()   X-Ref
No description

loadPreferences()   X-Ref
No description

loadEditorLink($path, $line, $callsign)   X-Ref
No description

getAlternateCSRFString()   X-Ref
No description

attachAlternateCSRFString($string)   X-Ref
No description

updateNameTokens()   X-Ref
Populate the nametoken table, which used to fetch typeahead results. When
a user types "linc", we want to match "Abraham Lincoln" from on-demand
typeahead sources. To do this, we need a separate table of name fragments.


sendWelcomeEmail(PhabricatorUser $admin)   X-Ref
No description

sendUsernameChangeEmail(PhabricatorUser $admin,$old_username)   X-Ref
No description

describeValidUsername()   X-Ref
No description

validateUsername($username)   X-Ref
No description

getDefaultProfileImageURI()   X-Ref
No description

attachStatus(PhabricatorCalendarEvent $status)   X-Ref
No description

getStatus()   X-Ref
No description

hasStatus()   X-Ref
No description

attachProfileImageURI($uri)   X-Ref
No description

getProfileImageURI()   X-Ref
No description

loadProfileImageURI()   X-Ref
No description

getFullName()   X-Ref
No description

__toString()   X-Ref
No description

loadOneWithEmailAddress($address)   X-Ref
No description

updateMultiFactorEnrollment()   X-Ref
Update the flag storing this user's enrollment in multi-factor auth.

With certain settings, we need to check if a user has MFA on every page,
so we cache MFA enrollment on the user object for performance. Calling this
method synchronizes the cache by examining enrollment records. After
updating the cache, use @{method:getIsEnrolledInMultiFactor} to check if
the user is enrolled.

This method should be called after any changes are made to a given user's
multi-factor configuration.

return: void

getIsEnrolledInMultiFactor()   X-Ref
Check if the user is enrolled in multi-factor authentication.

Enrolled users have one or more multi-factor authentication sources
attached to their account. For performance, this value is cached. You
can use @{method:updateMultiFactorEnrollment} to update the cache.

return: bool True if the user is enrolled.

isOmnipotent()   X-Ref
Returns true if this user is omnipotent. Omnipotent users bypass all policy
checks.

return: bool True if the user bypasses policy checks.

getOmnipotentUser()   X-Ref
Get an omnipotent user object for use in contexts where there is no acting
user, notably daemons.

return: PhabricatorUser An omnipotent user.

getCapabilities()   X-Ref
No description

getPolicy($capability)   X-Ref
No description

hasAutomaticCapability($capability, PhabricatorUser $viewer)   X-Ref
No description

describeAutomaticCapability($capability)   X-Ref
No description

getCustomFieldSpecificationForRole($role)   X-Ref
No description

getCustomFieldBaseClass()   X-Ref
No description

getCustomFields()   X-Ref
No description

attachCustomFields(PhabricatorCustomFieldAttachment $fields)   X-Ref
No description

destroyObjectPermanently(PhabricatorDestructionEngine $engine)   X-Ref
No description

getSSHPublicKeyManagementURI(PhabricatorUser $viewer)   X-Ref
No description

getSSHKeyDefaultName()   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1