Derrick Hammer
|
0b3d54e7c5
|
refactor: major middleware refactor
|
2024-02-13 22:17:34 -05:00 |
Derrick Hammer
|
e9db71f3b8
|
refactor: move middleware to its own package to prevent import cycles
|
2024-01-19 17:04:25 -05:00 |
Derrick Hammer
|
8044591697
|
feat: support auth in header, cookie, and query arg
|
2024-01-18 20:56:49 -05:00 |
Derrick Hammer
|
03f0d80ae5
|
fix: use AuthUserIDKey in context
|
2024-01-17 09:09:48 -05:00 |
Derrick Hammer
|
1d019d905b
|
fix: use a type switch
|
2024-01-17 09:02:13 -05:00 |
Derrick Hammer
|
af71f68ea9
|
fix: needs to be uint64
|
2024-01-17 08:58:58 -05:00 |
Derrick Hammer
|
bf65e845f3
|
fix: access sub directly
|
2024-01-17 08:57:45 -05:00 |
Derrick Hammer
|
e9aa676d94
|
fix: use public key, not private
|
2024-01-17 08:53:10 -05:00 |
Derrick Hammer
|
e31672aad0
|
feat: add support for checking the user account and storing in a new context
|
2024-01-17 08:43:32 -05:00 |
Derrick Hammer
|
ae0bddf3d1
|
feat: add jwt auth middleware
|
2024-01-17 08:16:03 -05:00 |