Home GnuPG

Modularize temporary token types
cf15e0de4386Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Modularize temporary token types

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:

{F1176908}

  • Revoked a token.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10603

Differential Revision: https://secure.phabricator.com/D15475

Details

Provenance
epriestley <git@epriestley.com>Authored on Mar 16 2016, 1:17 PM
Parents
rPHAB121e68e3adae: Fix an issue with rendering unit messages for diffs with no buildable
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABcf15e0de4386: Modularize temporary token types (authored by epriestley <git@epriestley.com>).Mar 16 2016, 5:33 PM