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

Function issuerOrigin

packages/core/sdk/src/oauth-service.ts:301–301  ·  view source on GitHub ↗
(issuer: string)

Source from the content-addressed store, hash-verified

299};
300
301const issuerOrigin = (issuer: string): string | null => parseUrl(issuer)?.origin ?? null;
302
303const issuerIsOriginOnly = (issuer: string): boolean => issuerOrigin(issuer) === issuer;
304

Callers 2

issuerIsOriginOnlyFunction · 0.85
dcrIssuerMatchesFunction · 0.85

Calls 1

parseUrlFunction · 0.90

Tested by

no test coverage detected