refactor: remove all JWT-related code and references
JWT was never used - auth uses X-User-Id header. Removes jwt.ts utility, jsonwebtoken dependency, stubbed refresh/logout endpoints, and updates all docs (PUML diagrams, api-routes, tex, CLAUDE.md) accordingly.
This commit is contained in:
@@ -11,15 +11,13 @@ Base URL: `/api`
|
||||
|--------|----------|--------------|
|
||||
| POST | `/auth/login` | User Login |
|
||||
| POST | `/auth/register` | User Registrierung |
|
||||
| POST | `/auth/refresh` | JWT Token erneuern |
|
||||
| POST | `/auth/logout` | User Logout |
|
||||
|
||||
---
|
||||
|
||||
## Events
|
||||
|
||||
### Event Endpoints (`/api/events`)
|
||||
Alle Endpoints erfordern JWT-Authentifizierung.
|
||||
Alle Endpoints erfordern Authentifizierung (X-User-Id Header).
|
||||
|
||||
| Method | Endpoint | Beschreibung |
|
||||
|--------|----------|--------------|
|
||||
@@ -35,7 +33,7 @@ Alle Endpoints erfordern JWT-Authentifizierung.
|
||||
## Chat
|
||||
|
||||
### Chat Endpoints (`/api/chat`)
|
||||
Alle Endpoints erfordern JWT-Authentifizierung.
|
||||
Alle Endpoints erfordern Authentifizierung (X-User-Id Header).
|
||||
|
||||
| Method | Endpoint | Beschreibung |
|
||||
|--------|----------|--------------|
|
||||
|
||||
Reference in New Issue
Block a user