bitwarden_vault/cipher/cipher_client/admin/
mod.rs1use bitwarden_core::Client;
2#[cfg(feature = "wasm")]
3use wasm_bindgen::prelude::*;
4
5mod create;
6mod delete;
7mod delete_attachment;
8mod edit;
9mod get;
10mod restore;
11
12#[cfg_attr(feature = "wasm", wasm_bindgen)]
15pub struct CipherAdminClient {
16 pub(crate) client: Client,
17}
18
19impl CipherAdminClient {
20 async fn is_strict_decrypt(&self) -> bool {
21 self.client
22 .internal
23 .get_flags()
24 .await
25 .strict_cipher_decryption
26 }
27}