Skip to main content

bitwarden_vault/cipher/attachment_client/admin/
mod.rs

1use std::sync::Arc;
2
3use bitwarden_core::client::ApiConfigurations;
4#[cfg(feature = "wasm")]
5use wasm_bindgen::prelude::*;
6
7mod delete;
8mod download_url;
9
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#[cfg_attr(feature = "wasm", wasm_bindgen)]
16pub struct AttachmentAdminClient {
17    pub(crate) api_configurations: Arc<ApiConfigurations>,
18}