Commit Graph

8 Commits (eb253716700d00f0417071059585b0c2c19943d0)

Author SHA1 Message Date
trivernis 94ae69ec60
Switch to pooled postgres client
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 a6119b04bf
Add getRoles method and return ttl for tokens
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7aded7b002
Add method to get permissions for role_ids
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
trivernis c189b4bef9
Add function to create a user
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f571f062fa
Add redis connection to all models
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8890c048f0
Add data models
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago