Client library for interacting with embedded Cerbos policy decision points generated by Cerbos Hub from server-side Node.js and browser-based applications.
Class |
Description |
---|---|
Loads an embedded policy decision point bundle from a given URL, and polls for updates. | |
A client for interacting with an embedded Cerbos policy decision point (PDP). | |
Loads an embedded policy decision point bundle from a given source. | |
Error thrown when a Loader fails to load an embedded policy decision point bundle. |
Interface |
Description |
---|---|
Options for creating a new AutoUpdatingLoader. | |
Metadata describing an embedded policy decision point bundle. | |
Type Alias |
Description |
---|---|
The decoded payload of a JWT, containing the claims. | |
A function to verify and decode a JWT, returning its payload. | |
WebAssembly binary code of an embedded policy decision point bundle, or a URL or HTTP response from which to stream it. |