useVexAuth
useVexAuth():
VexApiAuth
Defined in: packages/react/src/context/VexAuthContext.tsx:15
Reads the RBAC caller { user, organization } provided by the admin server
layout, so client components (usePermission, nav gating) can check
access without re-fetching the session.
Returns
Section titled “Returns”The current caller { user, organization } from the server layout.