3 final class PhabricatorAuthManagementListMFAProvidersWorkflow
4 extends PhabricatorAuthManagementWorkflow
{
6 protected function didConstruct() {
8 ->setName('list-mfa-providers')
9 ->setExamples('**list-mfa-providerrs**')
12 'List available multi-factor authentication providers.'))
13 ->setArguments(array());
16 public function execute(PhutilArgumentParser
$args) {
17 $viewer = $this->getViewer();
19 $providers = id(new PhabricatorAuthFactorProviderQuery())
23 foreach ($providers as $provider) {
27 $provider->getDisplayName());