MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / AuthContextType

Interface AuthContextType

frontend/src/hooks/useAuthContext.tsx:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5const ACCESS_TOKEN_KEY = 'access_token'
6
7interface AuthContextType {
8 isGuest: boolean
9 isLoggedIn: boolean
10 setGuestMode: (value: boolean) => void
11 logout: () => void
12}
13
14const AuthContext = createContext<AuthContextType | undefined>(undefined)
15

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected