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

Function useAuth

packages/react/src/multiplayer/auth-context.tsx:62–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60const AuthContext = createContext<AuthState>({ status: "loading" });
61
62export const useAuth = () => useContext(AuthContext);
63
64/** The auth-hint cookie as an optimistic AuthState, or null when absent. */
65const hintState = (hint: AuthHint | null): AuthState | null =>

Callers 11

OrgPageFunction · 0.90
UserFooterFunction · 0.90
AuthGateFunction · 0.90
DangerZoneSectionFunction · 0.90
OrgMenuSlotFunction · 0.90
SetupMcpPageFunction · 0.90
CreateOrgPageFunction · 0.90
AuthGateFunction · 0.90
AuthenticatedAppFunction · 0.90
AuthGateFunction · 0.90
AuthenticatedAppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected