[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/auth/controller/ -> PhabricatorAuthController.php (summary)

(no description)

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

Defines 8 functions

  buildStandardPageResponse()
  renderErrorPage()
  isFirstTimeSetup()
  loginUser()
  clearRegistrationCookies()
  buildLoginValidateResponse()
  renderError()
  loadAccountForRegistrationOrLinking()

Functions
Functions that are not part of a class:

buildStandardPageResponse($view, array $data)   X-Ref
No description

renderErrorPage($title, array $messages)   X-Ref
No description

isFirstTimeSetup()   X-Ref
Returns true if this install is newly setup (i.e., there are no user
accounts yet). In this case, we enter a special mode to permit creation
of the first account form the web UI.


loginUser(PhabricatorUser $user)   X-Ref
Log a user into a web session and return an @{class:AphrontResponse} which
corresponds to continuing the login process.

Normally, this is a redirect to the validation controller which makes sure
the user's cookies are set. However, event listeners can intercept this
event and do something else if they prefer.

param: PhabricatorUser   User to log the viewer in as.
return: AphrontResponse   Response which continues the login process.

clearRegistrationCookies()   X-Ref
No description

buildLoginValidateResponse(PhabricatorUser $user)   X-Ref
No description

renderError($message)   X-Ref
No description

loadAccountForRegistrationOrLinking($account_key)   X-Ref
No description



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