Commit Graph

97 Commits

Author SHA1 Message Date
af7770eb06 add user struct returning 2026-01-03 15:45:23 +02:00
8e67bae683 add error handling logic 2026-01-03 15:44:48 +02:00
5468c831c4 add internal auth errors 2026-01-03 15:44:25 +02:00
600cf84776 add revoke method 2026-01-03 15:43:43 +02:00
0485fd3bee add register method 2026-01-03 15:43:22 +02:00
f2f7819f8c add refresh method 2026-01-03 15:43:12 +02:00
48d9c14944 add me method (not implemented) 2026-01-03 15:43:00 +02:00
cadb42d17a add logout method 2026-01-03 15:42:29 +02:00
0510103125 add login method 2026-01-03 15:42:19 +02:00
e75390f673 add get user data method 2026-01-03 15:42:09 +02:00
bf96ca1263 errors file 2026-01-03 15:41:39 +02:00
ca569d25bc refactor and documentation 2026-01-03 15:41:21 +02:00
1468937589 move ProblemDetails 2026-01-03 15:39:42 +02:00
9070b4138e add real ip logging 2026-01-03 15:39:00 +02:00
ac26a981b2 swag fmt 2025-12-21 22:21:58 +02:00
e9d8877fbf fully implement acl backend and interface 2025-12-21 22:18:29 +02:00
85f8ac60e7 some changes 2025-12-21 00:00:03 +02:00
904f446447 basicly implement acl crud ops with roles and resources 2025-12-20 17:38:15 +02:00
c188b46519 gitignore add data dir 2025-12-20 17:37:34 +02:00
8e31a84b0e get some modules 2025-12-20 17:36:52 +02:00
bd06d071b2 add swagger 2025-12-20 17:36:36 +02:00
f0d7d79e0f add swagger 2025-12-20 17:36:24 +02:00
78a8e46b3e implement endpoint /roles 2025-12-19 14:27:17 +02:00
69281f3337 fmt 2025-12-19 14:27:01 +02:00
07ec64b1bb add acl service 2025-12-19 14:26:37 +02:00
cd465d42a3 add init functions 2025-12-19 14:26:28 +02:00
c0a187d461 implement basic acl operations and tests 2025-12-19 14:26:05 +02:00
5a34a445cf add acl service 2025-12-19 14:25:43 +02:00
e12b4dea12 add legacy route and new 2025-12-19 09:23:03 +02:00
beba3cfb4b comment incorrect test 2025-12-18 20:03:21 +02:00
0f966fa17e remove unused functions 2025-12-18 20:02:49 +02:00
7546d1bece fix issue with NewService and remove unused GetById/Username 2025-12-18 20:02:38 +02:00
45f4c76ff5 mod GetBy function 2025-12-18 20:01:28 +02:00
73343fd57b format 2025-12-18 19:59:57 +02:00
6c9f8bcec0 fix test 2025-12-18 19:59:49 +02:00
f65150cec3 add config to deps 2025-12-18 19:59:22 +02:00
99fd0f5776 add function what returns http.StatusNotImplemented 2025-12-18 19:59:06 +02:00
524749b329 rename called function 2025-12-18 19:58:41 +02:00
c80f7932b4 add doc 2025-12-18 19:58:29 +02:00
e2b92f8ba1 make jwt.Parse public 2025-12-18 19:58:21 +02:00
a1f6c1ffa9 add jwt config 2025-12-18 19:58:04 +02:00
7e581d99f5 create auth package 2025-12-18 19:57:51 +02:00
ad980ee600 implement work with services 2025-12-18 19:57:38 +02:00
438bed8f13 implement some auth (user) endpoints 2025-12-18 19:57:20 +02:00
e9b7f8ca17 rename 2025-12-18 19:56:56 +02:00
ae1e5600ae go mod bcrypt 2025-12-18 19:56:46 +02:00
44d39db701 git ignore add secret 2025-12-18 19:56:31 +02:00
adf61a4d1d add token config 2025-12-18 11:25:07 +02:00
97253ee9c7 add field UserID 2025-12-18 11:24:57 +02:00
4ae85c73bb remove prefix Token 2025-12-18 11:24:48 +02:00