MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / isAuthenticatedClient

Function isAuthenticatedClient

lib/logger.js:55–57  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

53}
54
55function isAuthenticatedClient(ws) {
56 return !!ws && ws.readyState === WebSocket.OPEN && !!ws._authenticated;
57}
58
59function normalizeApprovalMode(mode) {
60 const normalized = String(mode || '').toLowerCase();

Callers 3

broadcastFunction · 0.85
test-modules.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected