Skip to main content

Crate cedarling_wasm

Crate cedarling_wasm 

Source

Structs§

AuthorizeResult
A WASM wrapper for the Rust cedarling::AuthorizeResult struct. Represents the result of an authorization request.
AuthorizeResultResponse
A WASM wrapper for the Rust cedar_policy::Response struct. Represents the result of an authorization request.
BatchAuthorizeMultiIssuerResponse
WASM wrapper for cedarling::BatchAuthorizeResponse<Result<MultiIssuerAuthorizeResult, BatchItemError>>. Same shape as BatchAuthorizeUnsignedResponse with multi-issuer results.
BatchAuthorizeUnsignedResponse
WASM wrapper for cedarling::BatchAuthorizeResponse<Result<AuthorizeResult, BatchItemError>>.
BatchItemError
Per-item build failure surfaced inside a batch response at results[i] when Cedar couldn’t be reached for that item.
BatchItemMultiIssuerResult
Multi-issuer analog of BatchItemUnsignedResult.
BatchItemUnsignedResult
One slot in a batch response’s results array. Callers switch on is_ok() — on true, read unwrap(); on false, read error().
Cedarling
The instance of the Cedarling application.
DataEntry
A WASM wrapper for the Rust cedarling::DataEntry struct. Represents a data entry in the DataStore with value and metadata.
DataStoreStats
A WASM wrapper for the Rust cedarling::DataStoreStats struct. Statistics about the DataStore.
Diagnostics
Diagnostics
MultiIssuerAuthorizeResult
A WASM wrapper for the Rust cedarling::MultiIssuerAuthorizeResult struct. Represents the result of a multi-issuer authorization request.
PolicyEvaluationError
PolicyEvaluationError

Functions§

init
Creates a Cedarling application from bootstrap properties.
init_from_archive_bytes
Create a new instance of the Cedarling application from archive bytes.