2026-07-19 17:05:27 +07:00
|
|
|
//! Domain layer for IAM (Identity & Access Management).
|
|
|
|
|
//!
|
|
|
|
|
//! Pure entities, repository traits, and service traits — no infrastructure
|
|
|
|
|
//! or application orchestration logic.
|
|
|
|
|
//!
|
|
|
|
|
//! # Sub-modules
|
|
|
|
|
//!
|
|
|
|
|
//! - [`oauth`] — `OAuthConfig`, `OAuthToken` entities
|
|
|
|
|
//! - [`repository`] — Trait definitions: `OAuthRepository`, `SessionRepository`,
|
|
|
|
|
//! `SessionLockRepository`, `Rng`
|
|
|
|
|
//! - [`service`] — Trait definitions: `OAuthService`, `SessionService`
|
|
|
|
|
//! - [`session`] — `Session` entity (IAM wrapper around `zesdex_entities::Session`)
|
|
|
|
|
|
2026-07-20 06:14:23 +07:00
|
|
|
pub mod error;
|
2026-07-16 12:32:17 +07:00
|
|
|
pub mod oauth;
|
|
|
|
|
pub mod repository;
|
|
|
|
|
pub mod service;
|
|
|
|
|
pub mod session;
|