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

Function issuerIsOriginOnly

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

Source from the content-addressed store, hash-verified

301const issuerOrigin = (issuer: string): string | null => parseUrl(issuer)?.origin ?? null;
302
303const issuerIsOriginOnly = (issuer: string): boolean => issuerOrigin(issuer) === issuer;
304
305const dcrIssuerMatches = (rowIssuer: string, inputIssuer: string | null): boolean =>
306 inputIssuer !== null &&

Callers 1

dcrIssuerMatchesFunction · 0.85

Calls 1

issuerOriginFunction · 0.85

Tested by

no test coverage detected