Platform code: who may sign in and how is policy. The HMR layer mounts a copy of these routes below its seam for a platform older than this move, which declines the prefix.
API
contributes: {
"HttpModule.routes": [
{
"id": "AuthRoutes.routes",
"prefix": "/api/auth",
"auth": "none",
"order": 5
}
]
}Code Half (@Bind)
@Bind("AuthRoutes.routes") routes!: Hono<AppEnv>;
Endpoints (4)
POST
/api/auth/login
AuthRoutes.routes · auth.ts:31POST
/api/auth/logout
AuthRoutes.routes · auth.ts:45GET
/api/auth/claim
AuthRoutes.routes · auth.ts:63ALL
/api/auth/*
AuthRoutes.routes · auth.ts:94