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)Inherited
public function canCreateNewConfiguration($provider, $user)
Inherited
Parameters
PhabricatorAuthFactorProvider | $provider | |
PhabricatorUser | $user |
Return
wild |
public function getConfigurationCreateDescription($provider, $user)Inherited
public function getConfigurationCreateDescription($provider, $user)
Inherited
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)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()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)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 |
public static function generateNewTOTPKey()
public static function generateNewTOTPKey()
Return
wild |
public static function base32Decode($buf)
public static function base32Decode($buf)
Parameters
$buf |
Return
wild |
public static function getTOTPCode($key, $timestamp)
public static function getTOTPCode($key, $timestamp)
Parameters
PhutilOpaqueEnvelope | $key | |
$timestamp |
Return
wild |
private function getTimestepDuration()
private function getTimestepDuration()
Return
wild |
private function getCurrentTimestep()
private function getCurrentTimestep()
Return
wild |
private function getAllowedTimesteps($at_timestep)
private function getAllowedTimesteps($at_timestep)
Parameters
$at_timestep |
Return
wild |
private function getTimestepWindowSize()
private function getTimestepWindowSize()
Return
wild |
private function getTimestepAtWhichResponseIsValid($timesteps, $key, $code)
private function getTimestepAtWhichResponseIsValid($timesteps, $key, $code)
Parameters
array | $timesteps | |
PhutilOpaqueEnvelope | $key | |
$code |
Return
wild |