Build the authenticate seam over a TokenVerifier. Callers with a parsed
token map wrap it: bearerActorAuthenticator(staticTokenVerifier(map)).
Parsing the map stays outside so the JSON is parsed once and shared across
both routers (a Worker fetch authenticates twice — approval router, then
run router; the secret arrives on env, so once per request is the floor).
Build the
authenticateseam over a TokenVerifier. Callers with a parsed token map wrap it:bearerActorAuthenticator(staticTokenVerifier(map)). Parsing the map stays outside so the JSON is parsed once and shared across both routers (a Workerfetchauthenticates twice — approval router, then run router; the secret arrives onenv, so once per request is the floor).