MCPcopy
hub / github.com/authts/oidc-client-ts / set

Method set

src/WebStorageStateStore.ts:25–30  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

23 }
24
25 public async set(key: string, value: string): Promise<void> {
26 this._logger.create(`set('${key}')`);
27
28 key = this._prefix + key;
29 await this._store.setItem(key, value);
30 }
31
32 public async get(key: string): Promise<string | null> {
33 this._logger.create(`get('${key}')`);

Callers

nothing calls this directly

Calls 2

setItemMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected