MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / clearStoredAuth

Function clearStoredAuth

apps/extension/src/shared/auth.ts:111–113  ·  view source on GitHub ↗
(storageArea: AuthStorageArea)

Source from the content-addressed store, hash-verified

109const readFailureBody = async (response: Response): Promise<DeviceAuthFailureBody | undefined> => {
110 const parsed = failureBodySchema.safeParse(await response.json().catch(() => null));
111
112 return parsed.success ? parsed.data : undefined;
113};
114
115export const getKiloApiBaseUrl = (): string => {
116 const configuredUrl = import.meta.env.VITE_KILO_API_BASE_URL;

Callers 1

auth.test.tsFile · 0.90

Calls 1

removeItemMethod · 0.80

Tested by

no test coverage detected