Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorAuthLoginController

final class PhabricatorAuthLoginController
Phabricator Technical Documentation (Auth)

This class is not documented.

Methods

protected function renderErrorPage($title, $messages)
Inherited

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

protected function isFirstTimeSetup()
Inherited

PhabricatorAuthController

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)
Inherited

PhabricatorAuthController

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()
Inherited

This method is not documented.
Return
wild

private function buildLoginValidateResponse($user)
Inherited

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)
Inherited

This method is not documented.
Parameters
$account_key
Return
wild

protected function loadInvite()
Inherited

This method is not documented.
Return
wild

protected function renderInviteHeader($invite)
Inherited

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

final protected function newCustomStartMessage()
Inherited

This method is not documented.
Return
wild

public function shouldRequireLogin()

This method is not documented.
Return
wild

public function shouldAllowRestrictedParameter($parameter_name)

This method is not documented.
Parameters
$parameter_name
Return
wild

public function getExtraURIData()

This method is not documented.
Return
wild

public function handleRequest($request)

This method is not documented.
Parameters
AphrontRequest$request
Return
wild

private function processLoginUser($account)

This method is not documented.
Parameters
PhabricatorExternalAccount$account
Return
wild

private function processRegisterUser($account)

This method is not documented.
Parameters
PhabricatorExternalAccount$account
Return
wild

private function processLinkUser($account)

This method is not documented.
Parameters
PhabricatorExternalAccount$account
Return
wild

private function setAccountKeyAndContinue($account, $next_uri)

This method is not documented.
Parameters
PhabricatorExternalAccount$account
$next_uri
Return
wild

private function loadProvider()

This method is not documented.
Return
wild

public function buildProviderPageResponse($provider, $content)

This method is not documented.
Parameters
PhabricatorAuthProvider$provider
$content
Return
wild

public function buildProviderErrorResponse($provider, $message)

This method is not documented.
Parameters
PhabricatorAuthProvider$provider
$message
Return
wild