Derrick Hammer
|
044604d863
|
fix: remove Secure property
|
2024-03-18 16:31:42 -04:00 |
Derrick Hammer
|
e73ab26ebf
|
feat: add logout endpoint
|
2024-03-17 09:27:57 -04:00 |
Derrick Hammer
|
0e18f695cf
|
fix: name needs to be AuthTokenName, actually use jwt
|
2024-03-17 09:22:47 -04:00 |
Derrick Hammer
|
d893216831
|
fix: SetAuthCookie needs the jwt
|
2024-03-17 09:18:01 -04:00 |
Derrick Hammer
|
675a583422
|
refactor: update SetAuthCookie to use routeableApi.AuthTokenName()
|
2024-03-17 09:15:47 -04:00 |
Derrick Hammer
|
244aa89d71
|
refactor: use jape.Context
|
2024-03-17 09:09:29 -04:00 |
Derrick Hammer
|
2a8c036dc6
|
refactor: set auth cookie for every api, and optionally pass a specific api name to only set instead
|
2024-03-17 08:59:34 -04:00 |
Derrick Hammer
|
5223a44790
|
refactor: move DEFAULT_AUTH_COOKIE_NAME to account
|
2024-03-17 08:51:59 -04:00 |
Derrick Hammer
|
51c7211c39
|
feat: add SetAuthCookie helper
|
2024-03-17 08:15:27 -04:00 |
Derrick Hammer
|
d5118beb58
|
refactor: allow purpose to be none
|
2024-03-13 18:44:09 -04:00 |
Derrick Hammer
|
484b9ac583
|
fix: missing returning the claim
|
2024-02-17 20:16:19 -05:00 |
Derrick Hammer
|
7ec03524ed
|
fix: need to pass the claim by ref
|
2024-02-17 20:12:49 -05:00 |
Derrick Hammer
|
fc1dd491d6
|
fix: need to use the claim by ref
|
2024-02-17 20:07:43 -05:00 |
Derrick Hammer
|
f645499c7f
|
refactor: prefix all jwt helpers
|
2024-02-13 22:31:44 -05:00 |
Derrick Hammer
|
0b3d54e7c5
|
refactor: major middleware refactor
|
2024-02-13 22:17:34 -05:00 |
Derrick Hammer
|
9f6f2c9c87
|
feat: add purpose to jwt with consts
|
2024-02-13 20:58:17 -05:00 |
Derrick Hammer
|
764a7cbdaf
|
feat: add iat to jwt
|
2024-02-13 20:53:38 -05:00 |
Derrick Hammer
|
3c55ed2853
|
feat: add initial account services api
|
2024-02-13 19:07:24 -05:00 |
Derrick Hammer
|
4378da70da
|
refactor: create and export GenerateTokenWithDuration and GenerateToken
|
2024-01-20 07:30:46 -05:00 |
Derrick Hammer
|
9ad8d70f09
|
feat: implement EmailExists, PubkeyExists, CreateAccount,AddPubkeyToAccount, LoginPassword, LoginPubkey
|
2024-01-16 13:30:36 -05:00 |