use crate::PlatformConfig;
use std::sync::Arc;
pub mod user;
#[derive(Debug, Clone)]
pub struct SparkDirectoryService {
config: Arc<PlatformConfig>,
}
impl SparkDirectoryService {
pub fn new(config: Arc<PlatformConfig>) -> Self {
Self { config }
}
pub fn user(&self) -> user::DirectoryUserService {
user::DirectoryUserService::new(self.config.as_ref().clone())
}
}