Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorEditEngineMFAEngine

abstract class PhabricatorEditEngineMFAEngine
Phorge Technical Documentation (Transactions)

This class is not documented.

Methods

public function setObject($object)

This method is not documented.
Parameters
PhabricatorEditEngineMFAInterface$object
Return
wild

public function getObject()

This method is not documented.
Return
wild

public function setViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()

This method is not documented.
Return
wild

final public static function newEngineForObject($object)

This method is not documented.
Parameters
PhabricatorEditEngineMFAInterface$object
Return
wild

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
boolTrue to strictly require MFA.

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
boolTrue to prompt for MFA if available.