OptionaldefaultOptionaldefaultDefault input for every decision, merged with any passed-in input. Use the latter to override the defaults.
OptionaldefaultDefault path for every decision. Override by providingpath.
The @open-policy-agent/opa OPAClient instance to use.
The @tanstack/react-query client that's used for scheduling policy evaluation requests.
The default function to apply to the policy evaluation result to get a boolean decision. It can be overridden from
AuthzanduseAuthz. If unset, any non-undefined, non-false (i.e. "truthy") result will be taken to mean "authorized".