Commit graph

10 commits

Author SHA1 Message Date
b530de8f52
fix: username regex 2025-05-03 02:20:37 +02:00
0d07af7d79 feat: style: return unauthorized when token isnt found and flatten function structure
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-02 19:26:37 +02:00
c76fd73179 refactor: move regex code to mod.rs 2025-05-02 16:22:30 +02:00
97f7595cc5 style: cargo clippy and format
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-02 15:20:22 +02:00
481c2c3648 feat: use a logging library
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
gives us logs from actix and sqlx that otherwise arent exposed to us
2025-05-02 01:18:13 +02:00
22ab3d8a04 feat: add a way to revoke refresh_tokens using device_name 2025-05-01 20:19:39 +02:00
2864196584 perf: avoid cloning when checking access 2025-05-01 20:12:02 +02:00
83872ed7a6 feat: add a function to check access token
lets me reuse something that will happen often instead of having to write it manually in every file
2025-05-01 07:06:14 +02:00
725a16d1f5 feat: integrate token authentication 2025-05-01 05:01:25 +02:00
91398ecd5b style: move auth to own folder 2025-05-01 03:54:26 +02:00