niggl commented on issue lfk/backend#56 2020-12-29 20:39:19 +00:00
general stats endpoint

I implemented a new auth middleware+entities for the stats api.

niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 20:38:51 +00:00
9675e79441 Added openapi scheme for the stats api tokens.
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 20:34:51 +00:00
345851bf1d Added example endpoint for stats auth
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 20:32:47 +00:00
7c5a3893ef Added basic status api key checking middleware
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 20:00:45 +00:00
b53b5cf91f Update: keys cant be updated (for security reasons)
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:49:49 +00:00
04813173e4 Updated the method of api key creation.
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:21:47 +00:00
c4270b0839 Adapted the new async behaviour
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:21:01 +00:00
bb24ed53a4 Switched to hased tokens based on uuid (to be canged)
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:07:45 +00:00
1b74b21420 Renamed class
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:05:37 +00:00
b7cbe2a0b4 Adjusted the validation type
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:01:42 +00:00
500b94b44a Added a controller for stats clients (todo: put)
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 19:00:33 +00:00
641466a731 Added basic errors for stats clients
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:57:21 +00:00
e3ea83bb47 Removed async flag, b/c this doesn't need to perform anything async
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:48:37 +00:00
b6043744a9 Added STATSCLIENT as a new permission target
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:45:32 +00:00
2b38044271 Created a response for the statsClient
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:37:57 +00:00
4c3d2643c1 Added enabled flag for the stats clients
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:34:16 +00:00
e2cc0c0b80 Added Create action for the statsclients
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:32:22 +00:00
ce55dce011 Removed abstract flag from class
niggl pushed to feature/56-stats_endpoint at lfk/backend 2020-12-29 18:29:18 +00:00
a738c19316 Added the new statsClient class for stats api auth
niggl commented on issue lfk/backend#56 2020-12-29 18:20:18 +00:00
general stats endpoint

To provide auth for the stats we're going to implement a new entity that is used to authorize a stats client with a token (not JWT).