property UseAuthResult.logout

Ends the session this render holds. A 401 can land after the session has moved on to fresh tokens (a password change, here or in another tab), and must not sign those out.

Type

() => void

Usage

import { type UseAuthResult } from "src/hooks/auth/useAuth.ts";