PortalAuthController
| Base path | /api/portal/auth |
| Module | Inventory & Portal |
| Endpoints | 2 |
| OpenAPI tag | Portal Auth |
| Source | backend/src/main/java/com/motorph/payroll/controller/PortalAuthController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
POST | /api/portal/auth/register | Public — no authentication | register() |
POST | /api/portal/auth/login | Public — no authentication | login() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: PortalAuthServiceImpl.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| PortalUser | portal_user | — |
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.