Page MenuHomePhabricator

Modularize temporary token types
ClosedPublic

Authored by epriestley on Mar 16 2016, 12:24 PM.
Tags
None
Referenced Files
F18780143: D15475.diff
Sun, Oct 12, 12:33 AM
F18693808: D15475.id.diff
Sat, Sep 27, 1:59 AM
F18684402: D15475.diff
Fri, Sep 26, 9:25 AM
F18627465: D15475.id37301.diff
Sep 16 2025, 4:03 AM
F18606434: D15475.id.diff
Sep 13 2025, 10:19 PM
F18600835: D15475.id37300.diff
Sep 13 2025, 10:42 AM
F18225831: D15475.id.diff
Aug 20 2025, 2:36 AM
F18217625: D15475.diff
Aug 19 2025, 9:06 AM
Subscribers
None

Details

Summary

Ref T10603. For LFS, we need to issue a new type of temporary token.

This makes the temporary token code modular so applications can add new token types without modifying the Auth application.

(I'm moving slowly here because it impacts authentication.)

Test Plan
  • Used bin/auth recover to get a one-time token from the CLI.
  • Used "Forgot your password?" to get a one-time token from the web UI.
  • Followed the web UI token to initiate a password reset, prompting generation of a password token.
  • Viewed these tokens in the web UI:

Screen Shot 2016-03-16 at 5.21.01 AM.png (253×1 px, 36 KB)

  • Revoked a token.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Modularize temporary token types.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley edited edge metadata.
  • Split out some unrelated code for a future diff.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 16 2016, 2:29 PM
This revision was automatically updated to reflect the committed changes.