yggdrasil_authenticator/lib.rs
1// JSON models for networking.
2pub mod model {
3 // Agent JSON model.
4 pub mod auth_agent; // Defines the JSON model for authentication agents.
5
6 // Error JSON model.
7 pub mod auth_error; // Defines the JSON model for authentication errors.
8
9 // User JSON model.
10 pub mod auth_user; // Defines the JSON model for user information.
11
12 // Profile JSON model.
13 pub mod auth_profile; // Defines the JSON model for user profiles.
14
15 // JSON models for requests.
16 pub mod request; // Contains request-related JSON models.
17 pub use self::request::*; // Re-exports request models for easier access.
18
19 // JSON models for responses.
20 pub mod response; // Contains response-related JSON models.
21 pub use self::response::*; // Re-exports response models for easier access.
22}
23
24pub mod client {
25 pub mod client; // Contains the client implementation for interacting with the authentication system.
26}
27
28// Re-exports all models for easier access from the top level.
29pub use model::*;