Skip to main content

bitwarden_auth/registration/
mod.rs

1//! The registration module provides the registration client and related
2//! type for registering new Bitwarden users via various cryptographic
3//! mechanisms to establish their cryptographic state and register with
4//! the Bitwarden server
5
6mod post_keys_for_jit_password_registration;
7mod post_keys_for_key_connector_registration;
8mod post_keys_for_tde_registration;
9mod post_keys_for_user_password_registration;
10mod registration_client;
11
12pub use post_keys_for_jit_password_registration::{
13    JitMasterPasswordRegistrationRequest, JitMasterPasswordRegistrationResponse,
14};
15pub use post_keys_for_key_connector_registration::KeyConnectorRegistrationResult;
16pub use post_keys_for_tde_registration::{TdeRegistrationRequest, TdeRegistrationResponse};
17pub use post_keys_for_user_password_registration::{
18    UserMasterPasswordRegistrationRequest, UserMasterPasswordRegistrationResponse,
19};
20pub use registration_client::{RegistrationClient, RegistrationError};