MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / constructor

Method constructor

chat/services/apiKeyStore.js:12–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11class ApiKeyStore {
12 constructor() {
13 this.listeners = [];
14 this.state = {
15 apiKey: null,
16 apiKeyInfo: null,
17 expiresAt: null,
18 ticketUsed: null
19 };
20 }
21
22 getState() {
23 return { ...this.state };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected