VexAuthProvider
VexAuthProvider(
props):Element
Defined in: packages/react/src/auth/VexAuthContext.tsx:26
Seeds VexAuthContext with the server-resolved caller for the client tree
beneath it, so useVexAuth/usePermission see the same { user, organization }
without an extra round trip.
Parameters
Section titled “Parameters”The resolved caller to provide, and the subtree that consumes it.
children
Section titled “children”ReactNode
Returns
Section titled “Returns”Element
The context provider wrapping props.children.