MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / notifyLocalAuthRequired

Function notifyLocalAuthRequired

packages/react/src/api/local-auth.tsx:128–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 * main process owns the credential) — the gate is only for standalone web.
127 */
128export const notifyLocalAuthRequired = (): void => {
129 if (isDesktopBridge()) return;
130 setAuthRequired(true);
131};
132
133const useAuthRequired = (): boolean =>
134 React.useSyncExternalStore(

Callers 1

handleApiClientCauseFunction · 0.90

Calls 2

isDesktopBridgeFunction · 0.85
setAuthRequiredFunction · 0.85

Tested by

no test coverage detected