/**
 * Admin auth router — foundation-auth-rbac (Task 13). Mounted at
 * /api/admin/auth/*. All routes are public-entry (the setup/temp tokens carry
 * their own auth); each applies its own Origin check (admin.zync.is only).
 */
import { Hono } from 'hono'
import type { AppEnv } from '../../../types'
import { adminLoginRoute } from './login'
import { adminTotpRoute } from './totp'

const adminAuthRoutes = new Hono<AppEnv>()

adminAuthRoutes.route('/', adminLoginRoute)
adminAuthRoutes.route('/', adminTotpRoute)

export { adminAuthRoutes }
