nocobase/packages/core/auth/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
..
__tests__ feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
base feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
actions.ts feat(auth): support custom authentication (#2007) 2023-06-07 23:46:42 +08:00
auth-manager.ts feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
auth.ts feat(auth): support custom authentication (#2007) 2023-06-07 23:46:42 +08:00
index.ts feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00