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

Function issuerIsOriginOnly

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

Source from the content-addressed store, hash-verified

253const issuerOrigin = (issuer: string): string | null => parseUrl(issuer)?.origin ?? null;
254
255const issuerIsOriginOnly = (issuer: string): boolean => issuerOrigin(issuer) === issuer;
256
257const dcrIssuerMatches = (rowIssuer: string, inputIssuer: string | null): boolean =>
258 inputIssuer !== null &&

Callers 1

dcrIssuerMatchesFunction · 0.85

Calls 1

issuerOriginFunction · 0.85

Tested by

no test coverage detected