MCPcopy Create free account
hub / github.com/chieapp/chie / getCredentialById

Method getCredentialById

src/controller/api-manager.ts:119–123  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

117 }
118
119 getCredentialById(id: string) {
120 if (!(id in this.#credentials))
121 throw new Error(`Getting unknown API id: ${id}.`);
122 return this.#credentials[id];
123 }
124
125 getCredentialsByType(type: string): APICredential[] {
126 return Object.keys(this.#credentials)

Callers 2

deserializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected