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 open_org_invite_crypto;
7mod post_keys_for_jit_password_registration;
8mod post_keys_for_key_connector_registration;
9mod post_keys_for_tde_registration;
10mod post_keys_for_user_password_registration;
11mod registration_client;
12
13pub use open_org_invite_crypto::{
14    OpenOrgInvite, SealedOpenOrgInvite, SealedOpenOrgInviteData, SealedOpenOrgInviteDataError,
15};
16pub use post_keys_for_jit_password_registration::{
17    JitMasterPasswordRegistrationRequest, JitMasterPasswordRegistrationResponse,
18};
19pub use post_keys_for_key_connector_registration::KeyConnectorRegistrationResult;
20pub use post_keys_for_tde_registration::{TdeRegistrationRequest, TdeRegistrationResponse};
21pub use post_keys_for_user_password_registration::{
22    UserMasterPasswordRegistrationRequest, UserMasterPasswordRegistrationResponse,
23};
24pub use registration_client::{RegistrationClient, RegistrationError};