Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorAuthFactorProviderMFAEngine

final class PhabricatorAuthFactorProviderMFAEngine
Phorge Technical Documentation (Auth)

This class is not documented.

Methods

public function setObject($object)
Inherited

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

public function getObject()
Inherited

This method is not documented.
Return
wild

public function setViewer($viewer)
Inherited

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

public function getViewer()
Inherited

This method is not documented.
Return
wild

final public static function newEngineForObject($object)
Inherited

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

public function shouldRequireMFA()
Inherited

PhabricatorEditEngineMFAEngine

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()

PhabricatorEditEngineMFAEngine

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.

PhabricatorAuthFactorProviderMFAEngine
This method is not documented.
Return
boolTrue to prompt for MFA if available.