openlark-platform 0.18.0

飞书开放平台服务模块 - 应用管理、目录服务、系统管理 API (95 APIs)
Documentation
//! Password module

use openlark_core::config::Config;

pub mod reset;

/// password 资源服务
#[derive(Debug, Clone)]
pub struct PasswordService {
    config: Config,
}

impl PasswordService {
    /// 创建新的 password 服务
    pub fn new(config: Config) -> Self {
        Self { config }
    }

    /// 重置密码
    pub fn reset(&self) -> reset::ResetPasswordRequestBuilder {
        reset::ResetPasswordRequestBuilder::new(self.config.clone())
    }
}