Skip to main content

bitwarden_vault/cipher/attachment_client/admin/
mod.rs

1use std::sync::Arc;
2
3use bitwarden_core::client::ApiConfigurations;
4
5mod create;
6mod delete;
7mod download_url;
8
9pub use create::CreateAttachmentAdminError;
10pub use delete::DeleteAttachmentAdminError;
11pub use download_url::CipherAdminGetAttachmentDownloadUrlError;
12
13/// Wrapper for attachment admin operations. Uses the admin server API endpoints and does
14/// not modify local state.
15#[bitwarden_ffi::wasm_object]
16pub struct AttachmentAdminClient {
17    pub(crate) api_configurations: Arc<ApiConfigurations>,
18}