1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/applications/auth/storage
epriestley c58506aeaa Give sessions real PHIDs and slightly modernize session queries
Summary:
Ref T13222. See PHI873. I'm preparing to introduce a new MFA "Challenge" table which stores state about challenges we've issued (to bind challenges to sessions and prevent most challenge reuse).

This table will reference sessions (since each challenge will be bound to a particular session) but sessions currently don't have PHIDs. Give them PHIDs and slightly modernize some related code.

Test Plan:
  - Ran migrations.
  - Verified table got PHIDs.
  - Used `var_dump()` to dump an organic user session.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D19881
2018-12-13 16:14:41 -08:00
..
PhabricatorAuthDAO.php Add storage for Auth configuration in preparation for moving it into a web interface 2013-06-17 10:48:41 -07:00
PhabricatorAuthFactorConfig.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
PhabricatorAuthHMACKey.php Support HMAC+SHA256 with automatic key generation and management 2017-04-06 15:42:59 -07:00
PhabricatorAuthInvite.php Send emails for email invites 2015-02-11 06:06:09 -08:00
PhabricatorAuthPassword.php Give PhabricatorAuthPassword a formal CAN_EDIT policy 2018-08-16 11:53:24 -07:00
PhabricatorAuthPasswordTransaction.php Consolidate password verification/revocation logic in a new PhabricatorAuthPasswordEngine 2018-01-23 10:54:49 -08:00
PhabricatorAuthProviderConfig.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
PhabricatorAuthProviderConfigTransaction.php Update Auth for new UI 2016-03-31 13:51:12 -07:00
PhabricatorAuthSession.php Give sessions real PHIDs and slightly modernize session queries 2018-12-13 16:14:41 -08:00
PhabricatorAuthSSHKey.php Manage object mailKeys automatically in Mail instead of storing them on objects 2018-04-25 06:46:58 -07:00
PhabricatorAuthSSHKeyTransaction.php Add a bin/auth revoke revoker for SSH keys 2018-01-22 15:35:07 -08:00
PhabricatorAuthTemporaryToken.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00