MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getClient

Function getClient

server/src/services/certifier-client.ts:42–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42function getClient(): AxiosInstance {
43 if (!CERTIFIER_API_TOKEN) {
44 throw new Error('CERTIFIER_API_TOKEN is not configured');
45 }
46 return axios.create({
47 baseURL: CERTIFIER_API_URL,
48 headers: {
49 'Authorization': `Bearer ${CERTIFIER_API_TOKEN}`,
50 'Certifier-Version': CERTIFIER_VERSION,
51 'Content-Type': 'application/json',
52 },
53 });
54}
55
56/**
57 * Create, issue, and send a credential in one call.

Callers 8

issueCredentialFunction · 0.70
getCredentialFunction · 0.70
getCredentialDesignsFunction · 0.70
saveEnrichmentToOrgFunction · 0.70
enrichOrganizationFunction · 0.70
processBatchFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected