refactor(auth): simplify jurisdiction mint per cleanup review

Commit

jagregory2mo ago
  • Extract validateJurisdictionLabel, shared by targetJurisdiction and MintJurisdictionIdentityToken (was a duplicated regex + error string).
  • MintJurisdictionIdentityToken returns (token, err): the audience / exchangeCore returns had no production consumer (the command discards them) and were redundant with the posted-form test assertions.
  • Drop an inaccurate line from the redirectTransport test doc comment.

Behavior unchanged; fmt + lint clean, tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 23e771a1a94f

Checkpoints

Fix Auth Token Jurisdiction Environment Derivation

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1