MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / emailOf

Function emailOf

e2e/cloud/mcp-execution-metering.test.ts:22–22  ·  view source on GitHub ↗
(identity: Identity)

Source from the content-addressed store, hash-verified

20import type { Identity } from "../src/target";
21
22const emailOf = (identity: Identity): string => identity.credentials?.email ?? identity.label;
23
24/** The org the bearer is scoped to — the Autumn customer id `trackExecution`
25 * meters against — read from the JWT's public claims. */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected