bitwarden_core/global/mod.rs
1//! Unauthenticated client used by the CLI runtime and other contexts that need
2//! to make API calls before (or without) a signed-in user.
3//!
4//! Unlike [`crate::Client`], a [`GlobalClient`] does not bind to a `UserId`,
5//! does not hold key material, and does not resolve API URLs at construction.
6//! Each operation chooses the URL it needs at call time via
7//! [`GlobalClient::make_api_client`] /
8//! [`GlobalClient::make_identity_client`].
9
10mod global_client;
11mod global_internal_client;
12
13pub use global_client::GlobalClient;
14pub(crate) use global_internal_client::GlobalInternalClient;