Appearance
apps/api/src/features/auth/auth.controller.ts ​
Auto-generated by
scripts/generate-file-docs.ts. Do not edit — overwritten on every run.
Purpose ​
Auth HTTP handlers. Response shapes match api-contracts.md §3 exactly: - SessionResponse { userId, role, status, sessionToken } - MeResponse UserProfile + { role, status, familyGroupId, credentialType } Sensitive columns (passwordHash, externalUserId, approvedById, internal timestamps) are NEVER returned to clients. /
Exports ​
export async function postSessionexport async function deleteSessionexport async function postChildSessionexport async function getMe
Imports ​
../../adapters/db../../config../../db/repositories/PostgresUserRepository../../lib/errors../../lib/response./auth.dto./auth.schema./auth.service@clerk/backendfastify