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

Function bareAccount

apps/cloud/src/api/protected-jwt-auth.node.test.ts:18–27  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

16// The mirror's account row as `ensureAccount` mints it: id only, profile
17// columns unfilled until a WorkOS user payload arrives.
18const bareAccount = (id: string) => ({
19 id,
20 email: null,
21 firstName: null,
22 lastName: null,
23 avatarUrl: null,
24 workosUpdatedAt: null,
25 lastSignInAt: null,
26 createdAt,
27});
28const issuer = "https://test-authkit.example.com";
29const audience = "client_test_audience";
30

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected