4a992646

By: Michael Lynch <git@mtlynch.io>

Extract token entry creation into login_token.Generator

Move login token creation logic out of magiclogin.NewSender into a
login_token.Generator type, removing the NowFunc parameter and
LoginTokenExpiry constant from the magiclogin package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 3s 3s 4s
Eval 3s 2m09s 2m09s 2m13s
Build 7s 7m36s 1m16s 1m23s
Test - - - -
Deploy - - - -
Suite 0s 9m49s 2m12s 2m13s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m10s