public function getFactorName()
public function getFactorName()
Return
wild |
public function getFactorShortName()
public function getFactorShortName()
Return
wild |
public function getFactorKey()
public function getFactorKey()
Return
wild |
public function getFactorCreateHelp()
public function getFactorCreateHelp()
Return
wild |
public function getFactorDescription()
public function getFactorDescription()
Return
wild |
public function processAddFactorForm($provider, $form, $request, $user)
public function processAddFactorForm($provider, $form, $request, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
AphrontFormView | $form | |
AphrontRequest | $request | |
PhabricatorUser | $user |
Return
wild |
public function renderValidateFactorForm($config, $form, $viewer, $result)
public function renderValidateFactorForm($config, $form, $viewer, $result)
Parameters
PhabricatorAuthFactorConfig | $config | |
AphrontFormView | $form | |
PhabricatorUser | $viewer | |
PhabricatorAuthFactorResult | $validation_result |
Return
wild |
public function getParameterName($config, $name)Inherited
public function getParameterName($config, $name)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
$name |
Return
wild |
public static function getAllFactors()Inherited
public static function getAllFactors()
Inherited
Return
wild |
protected function newConfigForUser($user)Inherited
protected function newConfigForUser($user)
Inherited
Parameters
PhabricatorUser | $user |
Return
wild |
protected function newResult()Inherited
protected function newResult()
Inherited
Return
wild |
public function newIconView()Inherited
public function newIconView()
Inherited
Return
wild |
public function canCreateNewProvider()Inherited
public function canCreateNewProvider()
Inherited
Return
wild |
public function getProviderCreateDescription()Inherited
public function getProviderCreateDescription()
Inherited
Return
wild |
public function canCreateNewConfiguration($provider, $user)
public function canCreateNewConfiguration($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getConfigurationCreateDescription($provider, $user)
public function getConfigurationCreateDescription($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getConfigurationListDetails($config, $provider, $viewer)
public function getConfigurationListDetails($config, $provider, $viewer)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $viewer |
Return
wild |
public function newEditEngineFields($engine, $provider)
public function newEditEngineFields($engine, $provider)
Parameters
PhabricatorEditEngine | $engine | |
PhabricatorAuthFactorProvider | $provider |
Return
wild |
public function newChallengeStatusView($config, $provider, $viewer, $challenge)
public function newChallengeStatusView($config, $provider, $viewer, $challenge)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $viewer | |
PhabricatorAuthChallenge | $challenge |
Return
wild |
public function isContactNumberFactor()Inherited
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
bool | True if this factor should lock contact numbers. |
public function getEnrollDescription($provider, $user)
public function getEnrollDescription($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getEnrollButtonText($provider, $user)Inherited
public function getEnrollButtonText($provider, $user)
Inherited
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getFactorOrder()Inherited
public function getFactorOrder()
Inherited
Return
wild |
final public function newSortVector()Inherited
final public function newSortVector()
Inherited
Return
wild |
protected function newChallenge($config, $viewer)Inherited
protected function newChallenge($config, $viewer)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer |
Return
wild |
public function getRequestHasChallengeResponse($config, $request)
public function getRequestHasChallengeResponse($config, $request)
Parameters
PhabricatorAuthFactorConfig | $config | |
AphrontRequest | $response |
Return
wild |
final public function getNewIssuedChallenges($config, $viewer, $challenges)Inherited
final public function getNewIssuedChallenges($config, $viewer, $challenges)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
array | $challenges |
Return
wild |
protected function newIssuedChallenges($config, $viewer, $challenges)
protected function newIssuedChallenges($config, $viewer, $challenges)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
array | $challenges |
Return
wild |
final public function getResultFromIssuedChallenges($config, $viewer, $challenges)Inherited
final public function getResultFromIssuedChallenges($config, $viewer, $challenges)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
array | $challenges |
Return
wild |
final public function getResultForPrompt($config, $viewer, $request, $challenges)Inherited
final public function getResultForPrompt($config, $viewer, $request, $challenges)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
AphrontRequest | $request | |
array | $challenges |
Return
wild |
protected function newResultForPrompt($config, $viewer, $request, $challenges)
protected function newResultForPrompt($config, $viewer, $request, $challenges)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
AphrontRequest | $request | |
array | $challenges |
Return
wild |
protected function newResultFromIssuedChallenges($config, $viewer, $challenges)
protected function newResultFromIssuedChallenges($config, $viewer, $challenges)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
array | $challenges |
Return
wild |
final public function getResultFromChallengeResponse($config, $viewer, $request, $challenges)Inherited
final public function getResultFromChallengeResponse($config, $viewer, $request, $challenges)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
AphrontRequest | $request | |
array | $challenges |
Return
wild |
protected function newResultFromChallengeResponse($config, $viewer, $request, $challenges)
protected function newResultFromChallengeResponse($config, $viewer, $request, $challenges)
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
AphrontRequest | $request | |
array | $challenges |
Return
wild |
final protected function newAutomaticControl($result)Inherited
final protected function newAutomaticControl($result)
Inherited
Parameters
PhabricatorAuthFactorResult | $result |
Return
wild |
private function newWaitControl($result)Inherited
private function newWaitControl($result)
Inherited
Parameters
PhabricatorAuthFactorResult | $result |
Return
wild |
private function newAnsweredControl($result)Inherited
private function newAnsweredControl($result)
Inherited
Parameters
PhabricatorAuthFactorResult | $result |
Return
wild |
private function newErrorControl($result)Inherited
private function newErrorControl($result)
Inherited
Parameters
PhabricatorAuthFactorResult | $result |
Return
wild |
private function newContinueControl($result)Inherited
private function newContinueControl($result)
Inherited
Parameters
PhabricatorAuthFactorResult | $result |
Return
wild |
final protected function loadMFASyncToken($provider, $request, $form, $user)Inherited
final protected function loadMFASyncToken($provider, $request, $form, $user)
Inherited
Parameters
PhabricatorAuthFactorProvider | $provider | |
AphrontRequest | $request | |
AphrontFormView | $form | |
PhabricatorUser | $user |
Return
wild |
protected function newMFASyncTokenProperties($provider, $user)
protected function newMFASyncTokenProperties($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
private function getMFASyncTokenFormKey()Inherited
private function getMFASyncTokenFormKey()
Inherited
Return
wild |
private function getMFASyncTokenTTL()Inherited
private function getMFASyncTokenTTL()
Inherited
Return
wild |
final protected function getChallengeForCurrentContext($config, $viewer, $challenges)Inherited
final protected function getChallengeForCurrentContext($config, $viewer, $challenges)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorUser | $viewer | |
array | $challenges |
Return
wild |
final protected function newQRCode($uri)Inherited
final protected function newQRCode($uri)
Inherited
Parameters
$uri |
Return
wild |
final protected function getInstallDisplayName()Inherited
final protected function getInstallDisplayName()
Inherited
Return
wild |
final protected function getChallengeResponseParameterName($config)Inherited
final protected function getChallengeResponseParameterName($config)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config |
Return
wild |
final protected function getChallengeResponseFromRequest($config, $request)Inherited
final protected function getChallengeResponseFromRequest($config, $request)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
AphrontRequest | $request |
Return
wild |
final protected function hasCSRF($config)Inherited
final protected function hasCSRF($config)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config |
Return
wild |
final protected function loadConfigurationsForProvider($provider, $user)Inherited
final protected function loadConfigurationsForProvider($provider, $user)
Inherited
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
final protected function isAuthResult($object)Inherited
final protected function isAuthResult($object)
Inherited
Parameters
$object |
Return
wild |
private function newDuoFuture($provider)
private function newDuoFuture($provider)
Parameters
PhabricatorAuthFactorProvider | $provider |
Return
wild |
private function getDuoUsername($provider, $user)
private function getDuoUsername($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
private function shouldAllowDuoEnrollment($provider)
private function shouldAllowDuoEnrollment($provider)
Parameters
PhabricatorAuthFactorProvider | $provider |
Return
wild |
private function newDuoConfig($user, $duo_user)
private function newDuoConfig($user, $duo_user)
Parameters
PhabricatorUser | $user | |
$duo_user |
Return
wild |
public static function requireDuoAPIHostname($hostname)
public static function requireDuoAPIHostname($hostname)
Parameters
$hostname |
Return
wild |