Pascal Fischer
|
2fef52b856
|
remove dependency to external base62 package and create own methods in utils
|
2023-05-16 12:44:26 +02:00 |
|
Pascal Fischer
|
b05e30ac5a
|
do not use UTC for time to stay consistent
|
2023-04-03 12:44:55 +02:00 |
|
Pascal Fischer
|
3bab745142
|
last_used can be nil
|
2023-03-29 17:46:09 +02:00 |
|
Pascal Fischer
|
c5942e6b33
|
store hashed token base64 encoded
|
2023-03-29 15:21:53 +02:00 |
|
Pascal Fischer
|
514403db37
|
use object instead of plain token for create response + handler test
|
2023-03-28 14:47:15 +02:00 |
|
Pascal Fischer
|
c65a934107
|
refactor to use name instead of description
|
2023-03-27 16:28:49 +02:00 |
|
Pascal Fischer
|
b852198f67
|
codacy and lint hints
|
2023-03-20 11:44:12 +01:00 |
|
Pascal Fischer
|
628a201e31
|
fix PAT array split
|
2023-03-16 16:59:32 +01:00 |
|
Pascal Fischer
|
b8cab2882b
|
storing and retrieving PATs
|
2023-03-16 15:57:44 +01:00 |
|
Pascal Fischer
|
c4d9b76634
|
add comment for exported const
|
2023-03-08 12:09:22 +01:00 |
|
Pascal Fischer
|
b4bb5c6bb8
|
use const and do array copy
|
2023-03-08 11:54:10 +01:00 |
|
Pascal Fischer
|
2b1965c941
|
switch secret generation to use lib
|
2023-03-08 11:36:03 +01:00 |
|
Pascal Fischer
|
83e7e30218
|
store hashedToken as string
|
2023-03-08 11:30:09 +01:00 |
|
Pascal Fischer
|
ed470d7dbe
|
add comments for exported functions
|
2023-03-06 14:46:04 +01:00 |
|
Pascal Fischer
|
bcac5f7b32
|
fixed some namings
|
2023-03-06 13:51:32 +01:00 |
|
Pascal Fischer
|
95d87384ab
|
fixed some namings
|
2023-03-06 13:49:07 +01:00 |
|
Pascal Fischer
|
2f2d45de9e
|
updated PAT struct to only use user id instead of user
|
2023-03-03 16:37:39 +01:00 |
|
Pascal Fischer
|
b3f339c753
|
improved code for token checksum calc
|
2023-03-03 14:51:33 +01:00 |
|
Pascal Fischer
|
e0fc779f58
|
add id to the PAT
|
2023-03-02 16:19:31 +01:00 |
|
Pascal Fischer
|
69be2a8071
|
add generating token (only frame for now, actual token is only dummy)
|
2023-03-01 20:12:04 +01:00 |
|