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()
public function canCreateNewProvider()
Return
wild |
public function getProviderCreateDescription()
public function getProviderCreateDescription()
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)Inherited
public function getConfigurationListDetails($config, $provider, $viewer)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $viewer |
Return
wild |
public function newEditEngineFields($engine, $provider)Inherited
public function newEditEngineFields($engine, $provider)
Inherited
Parameters
PhabricatorEditEngine | $engine | |
PhabricatorAuthFactorProvider | $provider |
Return
wild |
public function newChallengeStatusView($config, $provider, $viewer, $challenge)Inherited
public function newChallengeStatusView($config, $provider, $viewer, $challenge)
Inherited
Parameters
PhabricatorAuthFactorConfig | $config | |
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $viewer | |
PhabricatorAuthChallenge | $challenge |
Return
wild |
public function isContactNumberFactor()
public function isContactNumberFactor()
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.
PhabricatorSMSAuthFactor
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)
public function getEnrollButtonText($provider, $user)
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getFactorOrder()
public function getFactorOrder()
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)Inherited
protected function newResultForPrompt($config, $viewer, $request, $challenges)
Inherited
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($providerr, $user)
protected function newMFASyncTokenProperties($providerr, $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 newSMSChallengeCode()
private function newSMSChallengeCode()
Return
wild |
private function isSMSMailerConfigured()
private function isSMSMailerConfigured()
Return
wild |
private function loadUserContactNumber($user)
private function loadUserContactNumber($user)
Parameters
PhabricatorUser | $user |
Return
wild |
private function sendSMSCodeToUser($envelope, $user)
private function sendSMSCodeToUser($envelope, $user)
Parameters
PhutilOpaqueEnvelope | $envelope | |
PhabricatorUser | $user |
Return
wild |
private function normalizeSMSCode($code)
private function normalizeSMSCode($code)
Parameters
$code |
Return
wild |