/** * Sumor OAuth 暴露接口 * 导出所需的中间件、路由和服务供客户端使用 */ import OAuthService from './services/OAuthService'; import oauthRoutes from './routes'; import { loadJwtUserMiddleware } from './middlewares/loadJwtUserMiddleware'; /** * 导出所需接口 * - OAuthService: OAuth 服务类,用于权限同步和各种 API 调用 * - loadJwtUserMiddleware: JWT 用户加载中间件 * - oauthRoutes: OAuth 路由(OAUTH_MOCK=true 时内部已包含 /mock/* 子路由) */ export { OAuthService, loadJwtUserMiddleware, oauthRoutes }; //# sourceMappingURL=index.d.ts.map