Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthFactorProvider.php
<?php | <?php | ||||
final class PhabricatorAuthFactorProvider | final class PhabricatorAuthFactorProvider | ||||
extends PhabricatorAuthDAO | extends PhabricatorAuthDAO | ||||
implements | implements | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
PhabricatorExtendedPolicyInterface { | PhabricatorExtendedPolicyInterface, | ||||
PhabricatorEditEngineMFAInterface { | |||||
protected $providerFactorKey; | protected $providerFactorKey; | ||||
protected $name; | protected $name; | ||||
protected $status; | protected $status; | ||||
protected $properties = array(); | protected $properties = array(); | ||||
private $factor = self::ATTACHABLE; | private $factor = self::ATTACHABLE; | ||||
▲ Show 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | switch ($capability) { | ||||
); | ); | ||||
break; | break; | ||||
} | } | ||||
return $extended; | return $extended; | ||||
} | } | ||||
/* -( PhabricatorEditEngineMFAInterface )---------------------------------- */ | |||||
public function newEditEngineMFAEngine() { | |||||
return new PhabricatorAuthFactorProviderMFAEngine(); | |||||
} | |||||
} | } |