MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / forgetToken

Function forgetToken

scripts/mars-credentials.mjs:219–227  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

217 }
218
219 function forgetToken(id) {
220 memoryTokens.delete(id);
221 if (!secrets) return;
222 try {
223 secrets.remove(secretAccountFor(id));
224 } catch (error) {
225 log(error instanceof Error ? error.message : String(error));
226 }
227 }
228
229 function find(id) {
230 return state.connections.find((connection) => connection.id === id) ?? null;

Callers 2

setTeamFunction · 0.85
removeFunction · 0.85

Calls 2

secretAccountForFunction · 0.85
deleteMethod · 0.80

Tested by

no test coverage detected