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

Method remove

src/WebStorageStateStore.ts:40–47  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

38 }
39
40 public async remove(key: string): Promise<string | null> {
41 this._logger.create(`remove('${key}')`);
42
43 key = this._prefix + key;
44 const item = await this._store.getItem(key);
45 await this._store.removeItem(key);
46 return item;
47 }
48
49 public async getAllKeys(): Promise<string[]> {
50 this._logger.create("getAllKeys");

Callers

nothing calls this directly

Calls 3

getItemMethod · 0.65
removeItemMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected