MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / hasToken

Function hasToken

apps/cli/src/lib/storage/credentials.ts:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65export async function hasToken(): Promise<boolean> {
66 const token = await loadToken()
67 return token !== null
68}
69
70export function getCredentialsPath(): string {
71 return CREDENTIALS_FILE

Callers 2

logoutFunction · 0.85

Calls 1

loadTokenFunction · 0.85

Tested by

no test coverage detected