Configures the authorization SDK, with default path/input of applicable. The <AuthzProvider/> wrapper needs to be as high as possible in the component tree, since <Authz/> or useAuthz may only be used inside that wrapper.
<AuthzProvider/>
<Authz/>
useAuthz
<AuthzProvider sdk={sdk} defaultPath="tickets" defaultInput={{tenant: 'acme-corp'}}> <App/></AuthzProvider> Copy
<AuthzProvider sdk={sdk} defaultPath="tickets" defaultInput={{tenant: 'acme-corp'}}> <App/></AuthzProvider>
Configures the authorization SDK, with default path/input of applicable. The
<AuthzProvider/>
wrapper needs to be as high as possible in the component tree, since<Authz/>
oruseAuthz
may only be used inside that wrapper.