Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorAuthController

abstract class PhabricatorAuthController
Phabricator Technical Documentation (Auth)

This class is not documented.

Methods

protected function renderErrorPage($title, $messages)

This method is not documented.
Parameters
$title
array$messages
Return
wild

protected function isFirstTimeSetup()

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.

Return
wild

protected function loginUser($user, $force_full_session)

Log a user into a web session and return an 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.

Parameters
PhabricatorUser$userUser to log the viewer in as.
bool$force_full_sessionTrue to issue a full session immediately, bypassing MFA.
Return
AphrontResponseResponse which continues the login process.

protected function clearRegistrationCookies()

This method is not documented.
Return
wild

private function buildLoginValidateResponse($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

protected function renderError($message)

This method is not documented.
Parameters
$message
Return
wild

protected function loadAccountForRegistrationOrLinking($account_key)

This method is not documented.
Parameters
$account_key
Return
wild

protected function loadInvite()

This method is not documented.
Return
wild

protected function renderInviteHeader($invite)

This method is not documented.
Parameters
PhabricatorAuthInvite$invite
Return
wild

final protected function newCustomStartMessage()

This method is not documented.
Return
wild