Anchorage API reference
    Preparing search index...
    • 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).

      Parameters

      Returns (request: Request) => Promise<ApprovalActor | undefined>