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

Function requireString

e2e/selfhost/mcp-enterprise-managed-auth.test.ts:94–97  ·  view source on GitHub ↗
(value: string | undefined | null, what: string)

Source from the content-addressed store, hash-verified

92 );
93
94const requireString = (value: string | undefined | null, what: string): string => {
95 if (!value) throw new Error(`emulator returned no ${what}`);
96 return value;
97};
98
99/** Single sign-on to the IdP, ending with the ID token the host holds on the
100 * user's behalf (EMA profile §3). This is the ONE step outside the product:

Callers 2

singleSignOnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected