login is ready

This commit is contained in:
root
2025-09-12 10:02:09 +05:00
parent c52b1c72e7
commit 4f18dd6ae3
18 changed files with 1050 additions and 170 deletions
+19
View File
@@ -0,0 +1,19 @@
## Identity
Требуется авторизация `Authorization: Bearer <access_token>`.
### Текущий пользователь
GET `/api/identity/me`
Ответ:
```json
{
"id": 1,
"email": "root@konturai.local",
"roles": ["ROLE_ADMIN", "ROLE_USER"]
}
```
Ошибки: 401 — нет или просрочен токен