public function setObject($object)
public function setObject($object)
Parameters
PhabricatorEditEngineMFAInterface | $object |
Return
wild |
public function getObject()
public function getObject()
Return
wild |
public function setViewer($viewer)
public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
final public static function newEngineForObject($object)
final public static function newEngineForObject($object)
Parameters
PhabricatorEditEngineMFAInterface | $object |
Return
wild |
public function shouldRequireMFA()
public function shouldRequireMFA()
Do edits to this object REQUIRE that the user submit MFA?
This is a strict requirement: users will need to add MFA to their accounts if they don't already have it.
Return
bool | True to strictly require MFA. |
public function shouldTryMFA()
public function shouldTryMFA()
Should edits to this object prompt for MFA if it's available?
This is advisory: users without MFA on their accounts will be able to perform edits without being required to add MFA.
Return
bool | True to prompt for MFA if available. |