1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-11 08:06:13 +01:00
phorge-phorge/src/applications/auth/garbagecollector
epriestley 5e94343c7d Add a garbage collector for MFA challenges
Summary:
Depends on D19886. Ref T13222. Clean up MFA challenges after they expire.

(There's maybe some argument to keeping these around for a little while for debugging/forensics, but I suspect it would never actually be valuable and figure we can cross that bridge if we come to it.)

Test Plan:
  - Ran `bin/garbage collect --collector ...` and saw old MFA challenges collected.
  - Triggered a new challenge, GC'd again, saw it survive GC while still active.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D19888
2018-12-17 07:00:55 -08:00
..
PhabricatorAuthChallengeGarbageCollector.php Add a garbage collector for MFA challenges 2018-12-17 07:00:55 -08:00
PhabricatorAuthSessionGarbageCollector.php Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
PhabricatorAuthTemporaryTokenGarbageCollector.php Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00