MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTrustedDeviceToken

Function getTrustedDeviceToken

src/bridge/trustedDevice.ts:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52})
53
54export function getTrustedDeviceToken(): string | undefined {
55 if (!isGateEnabled()) {
56 return undefined
57 }
58 return readStoredToken()
59}
60
61export function clearTrustedDeviceTokenCache(): void {
62 readStoredToken.cache?.clear?.()

Callers 1

fetchRemoteCredentialsFunction · 0.85

Calls 1

isGateEnabledFunction · 0.85

Tested by

no test coverage detected