Skip to content

Latest commit

 

History

History
114 lines (53 loc) · 1.79 KB

embedded.embedded.md

File metadata and controls

114 lines (53 loc) · 1.79 KB

Home > @cerbos/embedded > Embedded

Embedded class

A client for interacting with an embedded Cerbos policy decision point (PDP).

Signature:

export declare class Embedded extends Client 

Extends: Client

Remarks

Embedded PDP bundles are WebAssembly modules downloaded from Cerbos Hub. Bundle download URLs are available in the "Embedded" section of the "Decision points" page of your Cerbos Hub workspace.

See the parent class for available methods.

Constructors

Constructor

Modifiers

Description

(constructor)(loader)

Create a client for interacting with an embedded Cerbos policy decision point (PDP), using a specified Loader to load the embedded PDP bundle.

(constructor)(source, options)

Create a client for interacting with an embedded Cerbos policy decision point (PDP), using the default Loader to load the embedded PDP bundle.

Properties

Property

Modifiers

Type

Description

loader

readonly

Loader

The Loader used to load the embedded policy decision point bundle.