---
description: "认证相关文件检查指令"
---

认证相关文件检查，为后续认证相关开发提供上下文
如果是mobile的开发
    先检查
        当前用户认证的路由：
        src/server/api/auth
        src/server/api/auth/register/create.ts
        src/server/api/auth/login/password.ts
        src/server/api/auth/logout.ts

        中间件：
        src/server/middleware/auth.middleware.ts

        用户实体：
        src/server/modules/users/user.entity.ts
        src/server/modules/users/user.schema.ts
        src/server/modules/users/user.service.ts

        用户管理页:
        src/client/admin/pages/Users.tsx

        mobile前端：
        src/client/mobile/components/ProtectedRoute.tsx
        src/client/mobile/hooks/AuthProvider.tsx
        src/client/mobile/pages/AuthPage.tsx