Commit Graph

9 Commits (21995588dce723c833d22797de5e7e1abdcc1358)

Author SHA1 Message Date
trivernis d1224bb767
Add REST endpoint to log out
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4c59b345a5
Fix panic on non-base64 session tokens
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 11e725d302
Add some comments and fix some style issues
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 3a1e965b98
Fix SessionTokens not leaving old entry behind on refresh
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9ad9379381
Remove redis dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 88d4c3966b
Add method to refresh a request token
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 5e77c77559
Add login route
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a6119b04bf
Add getRoles method and return ttl for tokens
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 31f99d77fb
Add token functions (create, refresh, validate)
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago