Crate citadel_user
source ·Expand description
This crate is meant for containing the user-related libraries for HyperNode accounts. Both NetworkAccount and ClientAccount’s are a subset of HyperNode accounts. Every node/device necessarily contains a singular NetworkAccount; for each connection leading into and out of the node, a ClientAccount exists.
Modules§
- This provides methods to load all locally-stored files
- The server in legacy_citadel_proto requires a means of handling the user database. This module contains the means of achieving this
- For authentication
- For handling different I/O operations
- Each client within a HyperVPN has a unique ClientAccount. Multiple CAC’s are possible per node.
- Environmental constants and subroutines for pre-checking the system
- For services
- The general trait for creating account types
- For errors
- Each node must necessarily have a NetworkAccount that is invariant to any ClientAccounts. See the description for client_account below for more information.
- Standard imports for this library
- Serde and others
- Contains basic subroutines for serialization