Open Policy Agent TypeScript Packages
    Preparing search index...
    • 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.

      Parameters

      Returns Element

      <AuthzProvider sdk={sdk} defaultPath="tickets" defaultInput={{tenant: 'acme-corp'}}>
      <App/>
      </AuthzProvider>