interface AuthContextValue

Provided by AuthProvider to useAuth, which builds the session's API on it.

Properties

setAuthResponse: Dispatch<SetStateAction<Session | null>>

Replaces the session in memory only. Its callers store the new session themselves, with storeSession, so other tabs follow.

Usage

import { type AuthContextValue } from "src/contexts/auth/AuthContext.ts";