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

Function emailOf

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

Source from the content-addressed store, hash-verified

50};
51
52const emailOf = (identity: Identity): string => identity.credentials?.email ?? identity.label;
53
54/** The org the bearer is scoped to, read from the JWT's public claims. */
55const orgIdOf = (bearer: string): string => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected