Datomic-backed EACL authorization views.
Public reads, writes, consistency, caching, pagination, and lifecycle are
implemented once by eacl.client.orchestration. This namespace contributes
only Datomic's basis adapter, basis source, writer primitives, schema
operations, explicit speculative application, and Datomic-specific utilities.
Datomic-backed EACL authorization views. Public reads, writes, consistency, caching, pagination, and lifecycle are implemented once by `eacl.client.orchestration`. This namespace contributes only Datomic's basis adapter, basis source, writer primitives, schema operations, explicit speculative application, and Datomic-specific utilities.
(basis-instant acl t)Returns the Datomic transaction instant for basis t, or nil for nil.
The helper captures one current basis from acl; it is diagnostic and not
part of an authorization request path.
Returns the Datomic transaction instant for basis `t`, or nil for nil. The helper captures one current basis from `acl`; it is diagnostic and not part of an authorization request path.
(cache-content-revision acl)Returns this client's process-local reusable-cache content revision.
Returns this client's process-local reusable-cache content revision.
(cache-stats acl)(current-zed-token acl)Returns a token for one newly captured current Datomic basis.
Returns a token for one newly captured current Datomic basis.
(db snapshot)Returns the immutable Datomic DB held by an EACL-created snapshot.
Returns the immutable Datomic DB held by an EACL-created snapshot.
(expire-cache! acl)(expire-cache! acl source-lifecycle)(export-authenticated-cache-snapshot client bounds)Exports count/byte-bounded authenticated cache bytes using the primary keyring.
Exports count/byte-bounded authenticated cache bytes using the primary keyring.
(export-cache-snapshot acl bounds)Exports reusable authorization-cache entries as a bounded immutable value.
Hosts persisting external bytes must authenticate and encoded-size-bound the envelope before deserialization. The value contains neither a Datomic DB nor process-local cache identity.
Exports reusable authorization-cache entries as a bounded immutable value. Hosts persisting external bytes must authenticate and encoded-size-bound the envelope before deserialization. The value contains neither a Datomic DB nor process-local cache identity.
(make-client conn config-opts)Builds an EACL v8 client over explicitly initialized Relationship storage 8. Storage and permission upgrades must be invoked before construction.
Builds an EACL v8 client over explicitly initialized Relationship storage 8. Storage and permission upgrades must be invoked before construction.
Initializes missing Datomic cache generations on a quiesced connection.
Initializes missing Datomic cache generations on a quiesced connection.
(refresh-metrics! acl)(refresh-metrics! acl opts)(restore-authenticated-cache-snapshot! client token bounds)Restores optional authenticated cache bytes. Unavailable keys are cache misses.
Restores optional authenticated cache bytes. Unavailable keys are cache misses.
(restore-cache-snapshot! acl snapshot bounds)Atomically restores one trusted, authenticated cache snapshot value.
Atomically restores one trusted, authenticated cache snapshot value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |