MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / clear

Method clear

src/services/mcp/auth.py:417–421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

415 return sorted(self._index)
416
417 def clear(self) -> None:
418 for name in list(self._index):
419 self.remove_token(name)
420 if self._using_plaintext_fallback:
421 self._clear_plaintext()
422
423 # --- Plaintext fallback (only when explicitly opted in) ---------------
424

Callers 15

test_clearMethod · 0.95
flushMethod · 0.45
reset_turnMethod · 0.45
get_remaining_resultsMethod · 0.45
_receive_loopMethod · 0.45
reconnectMethod · 0.45
clear_resource_cacheMethod · 0.45
clear_connection_cacheFunction · 0.45
flushMethod · 0.45
_do_knowledgeMethod · 0.45
_run_turnMethod · 0.45

Calls 2

remove_tokenMethod · 0.95
_clear_plaintextMethod · 0.95

Tested by 1

test_clearMethod · 0.76