Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorTOTPAuthFactor

final class PhabricatorTOTPAuthFactor
Phabricator Technical Documentation (Auth)

This class is not documented.

Methods

public function getFactorName()

This method is not documented.
Return
wild

public function getFactorKey()

This method is not documented.
Return
wild

public function getFactorDescription()

This method is not documented.
Return
wild

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

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

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

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

public function processValidateFactorForm($config, $viewer, $request)

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

public function isFactorValid($config, $validation_result)
Inherited

This method is not documented.
Parameters
PhabricatorAuthFactorConfig$config
$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

public static function generateNewTOTPKey()

This method is not documented.
Return
wild

public static function verifyTOTPCode($user, $key, $code)

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

public static function base32Decode($buf)

This method is not documented.
Parameters
$buf
Return
wild

public static function getTOTPCode($key, $timestamp)

This method is not documented.
Parameters
PhutilOpaqueEnvelope$key
$timestamp
Return
wild

private function renderQRCode($uri)

This method is not documented.
Parameters
$uri
Return
wild