import express from "express";
import { createSessionExchangeHandler, JWT_AUD } from "../../../shared/hse-jwt/index.js";

const router = express.Router();

router.post("/auth/session", createSessionExchangeHandler(JWT_AUD.SWI));

router.post("/auth/login", (_req, res) => {
  res.status(410).json({
    message:
      "SWI login moved to POST /api/master/auth/login (Master Dashboard).",
  });
});

export default router;
