nocobase/packages/plugins/api-keys
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
..
docs docs: update api-keys related documentation (#2162) 2023-07-01 12:21:33 +08:00
src feat: support token blacklist (#2168) 2023-07-05 21:57:57 +08:00
client.d.ts feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
client.js feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
package.json docs: update api-keys related documentation (#2162) 2023-07-01 12:21:33 +08:00
README.md feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
README.zh-CN.md feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
server.d.ts feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00
server.js feat(plugin-api-keys): support fetch api via api-keys (#2136) 2023-06-30 11:20:35 +08:00

api-keys

English | 中文

安装激活

内置插件无需手动安装激活。

使用方法