1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-01 17:38:24 +01:00
phorge-phorge/src/applications/auth/management
epriestley aa48373889 Update bin/auth MFA commands for the new "MFA Provider" indirection layer
Summary:
Ref T13222. This updates the CLI tools and documentation for the changes in D19975.

The flags `--type` and `--all-types` retain their current meaning. In most cases, `bin/auth strip --type totp` is sufficient and you don't need to bother looking up the relevant provider PHID. The existing `bin/auth list-factors` is also unchanged.

The new `--provider` flag allows you to select configs from a particular provider in a more granular way. The new `bin/auth list-mfa-providers` provides an easy way to get PHIDs.

(In the Phacility cluster, the "Strip MFA" action just reaches into the database and deletes rows manually, so this isn't terribly important. I verified that the code should still work properly.)

Test Plan:
  - Ran `bin/auth list-mfa-providers`.
  - Stripped by user / type / provider.
  - Grepped for `list-factors` and `auth strip`.
  - Hit all (?) of the various possible error cases.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D19976
2019-01-23 13:38:44 -08:00
..
PhabricatorAuthManagementCachePKCS8Workflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorAuthManagementLDAPWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorAuthManagementListFactorsWorkflow.php Update bin/auth MFA commands for the new "MFA Provider" indirection layer 2019-01-23 13:38:44 -08:00
PhabricatorAuthManagementListMFAProvidersWorkflow.php Update bin/auth MFA commands for the new "MFA Provider" indirection layer 2019-01-23 13:38:44 -08:00
PhabricatorAuthManagementRecoverWorkflow.php Allow "bin/auth recover" to generate a link which forces a full login session 2018-12-28 00:15:36 -08:00
PhabricatorAuthManagementRefreshWorkflow.php Various translation improvements 2015-11-03 07:02:46 +11:00
PhabricatorAuthManagementRevokeWorkflow.php Add "bin/auth revoke --list" to explain what can be revoked 2018-01-23 14:01:39 -08:00
PhabricatorAuthManagementStripWorkflow.php Update bin/auth MFA commands for the new "MFA Provider" indirection layer 2019-01-23 13:38:44 -08:00
PhabricatorAuthManagementTrustOAuthClientWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorAuthManagementUnlimitWorkflow.php Add bin/auth unlimit and clean up a TODO 2015-09-14 07:03:39 -07:00
PhabricatorAuthManagementUntrustOAuthClientWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorAuthManagementVerifyWorkflow.php Add a "did verify email" event to Phabricator 2015-02-11 14:39:06 -08:00
PhabricatorAuthManagementWorkflow.php Apply some autofix linter rules 2014-09-10 06:55:05 +10:00