function useAuth
useAuth(): UseAuthResult

Returns the session and the functions that act on it. It must be called under AuthProvider.

Return Type

Usage

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