MCPcopy Index your code
hub / github.com/CapSoftware/Cap / loadPendingAuth

Function loadPendingAuth

apps/chrome-extension/src/shared/storage.ts:192–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190export const clearAuth = () => removeLocal(AUTH_KEY);
191
192export const loadPendingAuth = async () => {
193 const result = await getLocal([PENDING_AUTH_KEY]);
194 const saved = result[PENDING_AUTH_KEY];
195 return isPendingAuth(saved) ? saved : null;
196};
197
198export const loadCachedBootstrap = async () => {
199 const result = await getLocal([BOOTSTRAP_CACHE_KEY]);

Callers 1

loadSignedInStateFunction · 0.90

Calls 2

getLocalFunction · 0.85
isPendingAuthFunction · 0.85

Tested by

no test coverage detected