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

Function issuerOrigin

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

Source from the content-addressed store, hash-verified

251};
252
253const issuerOrigin = (issuer: string): string | null => parseUrl(issuer)?.origin ?? null;
254
255const issuerIsOriginOnly = (issuer: string): boolean => issuerOrigin(issuer) === issuer;
256

Callers 2

issuerIsOriginOnlyFunction · 0.85
dcrIssuerMatchesFunction · 0.85

Calls 1

parseUrlFunction · 0.90

Tested by

no test coverage detected