property AuthContextValue.setAuthResponse

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

Type

Dispatch<SetStateAction<Session | null>>

Usage

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