tachybase_todo/packages/plugins/api-keys/src
Dunqing 25a3a8affa
feat: support token blacklist (#2168)
* feat: support token blacklist, Close T-799

* feat: clean

* fix: possible token does not exist

* fix: update

* feat: update

* feat: add node-cron to delete expired token

* fix: findOrCreate not work and add test case

* test: add token-blacklist tests

* feat: add test cases for blacklist in authManager

* test: update better

* fix: should hidden token field

* test: clean

* test: clean

* fix: should stop cron in afterStop

* refactor: move delete expired token in token blacklist service

* feat: remove plugin disable/enable logic

* fix: clean

* test: revert

* fix: cron typo
2023-07-05 21:57:57 +08:00
..
client fix(plugin-api-keys): use currentRoles instead of get roles from roles:list (#2163) 2023-07-02 10:36:36 +08:00
collections feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
server feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
constants.ts feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
index.ts feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00