Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorDuoAuthFactor

final class PhabricatorDuoAuthFactor
Phorge Technical Documentation (Auth)

This class is not documented.

Methods

public function getFactorName()

This method is not documented.
Return
wild

public function getFactorShortName()

This method is not documented.
Return
wild

public function getFactorKey()

This method is not documented.
Return
wild

public function getFactorCreateHelp()

This method is not documented.
Return
wild

public function getFactorDescription()

This method is not documented.
Return
wild

public function processAddFactorForm($provider, $form, $request, $user)

This method is not documented.
Parameters
PhabricatorAuthFactorProvider$provider
AphrontFormView$form
AphrontRequest$request
PhabricatorUser$user
Return
wild

public function renderValidateFactorForm($config, $form, $viewer, $result)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
AphrontFormView$form
PhabricatorUser$viewer
PhabricatorAuthFactorResult$validation_result
Return
wild

public function getParameterName($config, $name)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
$name
Return
wild

public static function getAllFactors()
Inherited

This method is not documented.
Return
wild

protected function newConfigForUser($user)
Inherited

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

protected function newResult()
Inherited

This method is not documented.
Return
wild

public function newIconView()
Inherited

This method is not documented.
Return
wild

public function canCreateNewProvider()
Inherited

This method is not documented.
Return
wild

public function getProviderCreateDescription()
Inherited

This method is not documented.
Return
wild

public function canCreateNewConfiguration($provider, $user)

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

public function getConfigurationCreateDescription($provider, $user)

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

public function getConfigurationListDetails($config, $provider, $viewer)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorAuthFactorProvider$provider
PhabricatorUser$viewer
Return
wild

public function newEditEngineFields($engine, $provider)

This method is not documented.
Parameters
PhabricatorEditEngine$engine
PhabricatorAuthFactorProvider$provider
Return
wild

public function newChallengeStatusView($config, $provider, $viewer, $challenge)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorAuthFactorProvider$provider
PhabricatorUser$viewer
PhabricatorAuthChallenge$challenge
Return
wild

public function isContactNumberFactor()
Inherited

PhabricatorAuthFactor

Is this a factor which depends on the user's contact number?

If a user has a "contact number" factor configured, they can not modify or switch their primary contact number.

Return
boolTrue if this factor should lock contact numbers.

public function getEnrollDescription($provider, $user)

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

public function getEnrollButtonText($provider, $user)
Inherited

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

public function getFactorOrder()
Inherited

This method is not documented.
Return
wild

final public function newSortVector()
Inherited

This method is not documented.
Return
wild

protected function newChallenge($config, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
Return
wild

public function getRequestHasChallengeResponse($config, $request)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
AphrontRequest$response
Return
wild

final public function getNewIssuedChallenges($config, $viewer, $challenges)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
array$challenges
Return
wild

protected function newIssuedChallenges($config, $viewer, $challenges)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
array$challenges
Return
wild

final public function getResultFromIssuedChallenges($config, $viewer, $challenges)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
array$challenges
Return
wild

final public function getResultForPrompt($config, $viewer, $request, $challenges)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
AphrontRequest$request
array$challenges
Return
wild

protected function newResultForPrompt($config, $viewer, $request, $challenges)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
AphrontRequest$request
array$challenges
Return
wild

protected function newResultFromIssuedChallenges($config, $viewer, $challenges)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
array$challenges
Return
wild

final public function getResultFromChallengeResponse($config, $viewer, $request, $challenges)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
AphrontRequest$request
array$challenges
Return
wild

protected function newResultFromChallengeResponse($config, $viewer, $request, $challenges)

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
AphrontRequest$request
array$challenges
Return
wild

final protected function newAutomaticControl($result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorResult$result
Return
wild

private function newWaitControl($result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorResult$result
Return
wild

private function newAnsweredControl($result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorResult$result
Return
wild

private function newErrorControl($result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorResult$result
Return
wild

private function newContinueControl($result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorResult$result
Return
wild

final protected function loadMFASyncToken($provider, $request, $form, $user)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorProvider$provider
AphrontRequest$request
AphrontFormView$form
PhabricatorUser$user
Return
wild

protected function newMFASyncTokenProperties($provider, $user)

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

private function getMFASyncTokenFormKey()
Inherited

This method is not documented.
Return
wild

private function getMFASyncTokenTTL()
Inherited

This method is not documented.
Return
wild

final protected function getChallengeForCurrentContext($config, $viewer, $challenges)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
PhabricatorUser$viewer
array$challenges
Return
wild

final protected function newQRCode($uri)
Inherited

This method is not documented.
Parameters
$uri
Return
wild

final protected function getInstallDisplayName()
Inherited

This method is not documented.
Return
wild

final protected function getChallengeResponseParameterName($config)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
Return
wild

final protected function getChallengeResponseFromRequest($config, $request)
Inherited

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

final protected function hasCSRF($config)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
Return
wild

final protected function loadConfigurationsForProvider($provider, $user)
Inherited

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

final protected function isAuthResult($object)
Inherited

This method is not documented.
Parameters
$object
Return
wild

private function newDuoFuture($provider)

This method is not documented.
Parameters
PhabricatorAuthFactorProvider$provider
Return
wild

private function getDuoUsername($provider, $user)

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

private function shouldAllowDuoEnrollment($provider)

This method is not documented.
Parameters
PhabricatorAuthFactorProvider$provider
Return
wild

private function newDuoConfig($user, $duo_user)

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

public static function requireDuoAPIHostname($hostname)

This method is not documented.
Parameters
$hostname
Return
wild