(id: string)
| 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) |
no outgoing calls
no test coverage detected