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

Function sealedSessionDisplayName

apps/cloud/src/auth/middleware.ts:82–83  ·  view source on GitHub ↗
(result: SealedSessionResult)

Source from the content-addressed store, hash-verified

80
81/** The display name WorkOS first/last fields collapse to, or `null`. */
82export const sealedSessionDisplayName = (result: SealedSessionResult): string | null =>
83 `${result.firstName ?? ""} ${result.lastName ?? ""}`.trim() || null;
84
85/**
86 * The ONE sealed-session → {@link Session} mapper. `SessionAuthLive` and the

Callers 3

verifySessionFunction · 0.90
resolveSessionPrincipalFunction · 0.90
sessionFromSealedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected