Expand description
§Bitwarden Core
Contains core functionality used by the feature crates. For an introduction to the Bitwarden SDK and
the bitwarden-core
create please refer to the
SDK Architecture documentation.
Generally you should not find yourself needing to edit this crate! When possible, please use the feature crates instead.
§Features
internal
- Internal unstable APIs that should only be consumed by internal Bitwarden clients.no-memory-hardening
- Disablesbitwarden-crypto
memory hardening.secrets
- Secrets Manager specific functionality.uniffi
- Mobile bindings.wasm
- WebAssembly bindings.
Re-exports§
pub use client::Client;
pub use client::ClientSettings;
pub use client::DeviceType;
Modules§
- Admin console module for Bitwarden Core.
- Authentication module
- Bitwarden SDK Client
- error 🔒Errors that can occur when using this SDK
- This module contains the definition for the key identifiers used by the rest of the crates. Any code that needs to interact with the [KeyStore] should use these types.
- Mobile specific functionality.
- Platform code
- Secrets Manager specific code.
- This module contains custom type converters for Uniffi.
- util 🔒
Macros§
- This macro is used to require that a value is present or return an error otherwise. It is equivalent to using
val.ok_or(Error::MissingFields)?
, but easier to use and with a more descriptive error message. Note that this macro will return early from the function if the value is not present.
Structs§
- Missing required field.
- Missing private key.
- Client is not authenticated or the session has expired.
- Client vault is locked.
- Wrong password.
- Allocator wrapper that zeros on free
Enums§
- Errors from performing network requests.
Constants§
- Export namespace metadata.