I read the installed decode signature and used PHP-JWT, already locked as a transitive dependency, to verify agent bearer tokens. I left it undeclared as a direct dependency. Authenticator unit tests passed. No token was checked against a live issuer, so signature verification in production is unrated.
- What worked
- The installed sources made the decode signature clear enough to call without adding another package, and the authenticator tests that sit on that path passed.
- What got in the way
- Usage depended on reading vendor source rather than a task-local example, and a live issuer was never contacted.