Skip to main content

cookie_agent_models/provider_store/
mod.rs

1//! Secure per-user managed provider store schema 3.
2
3mod store;
4mod types;
5
6pub(crate) use store::setup_fingerprint;
7
8pub use store::{
9    CommittedProviderStore, ConnectProposal, DisconnectProposal, ProposedProviderStore,
10    ProviderStore, ProviderStoreTransaction,
11};
12pub use types::{
13    ClientConnectId, ClientRequestId, ConnectMutation, DisconnectMutation,
14    DurableConnectionDescriptor, DurableProviderReceipt, ProviderAuthValues,
15    ProviderConnectionGeneration, ProviderStoreError, ProviderStoreExpectation,
16    ProviderStoreGeneration, ProviderStoreMutation, ProviderStoreSnapshot, SafePolicyString,
17    SafePolicyValue, StoredManagedConnection, StoredModelOverrideProjection,
18    StoredProviderPolicyProjection,
19};
20
21/// The only accepted provider-store schema.
22pub const PROVIDER_STORE_SCHEMA_VERSION: u32 = 3;
23/// Fixed provider-store body filename.
24pub const PROVIDER_STORE_FILE: &str = "store-v3.json";
25/// Fixed provider-store lock filename.
26pub const PROVIDER_STORE_LOCK_FILE: &str = "store-v3.lock";