nocobase/packages/plugins/auth/package.json
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

21 lines
644 B
JSON

{
"name": "@nocobase/plugin-auth",
"version": "0.10.0-alpha.5",
"main": "lib/server/index.js",
"devDependencies": {
"@nocobase/test": "0.10.0-alpha.5",
"@types/cron": "^2.0.1"
},
"dependencies": {
"@nocobase/actions": "0.10.0-alpha.5",
"@nocobase/client": "0.10.0-alpha.5",
"@nocobase/database": "0.10.0-alpha.5",
"@nocobase/server": "0.10.0-alpha.5",
"cron": "^2.3.1"
},
"displayName": "Authentication",
"displayName.zh-CN": "用户认证",
"description": "Basic authentication and authenticator management.",
"description.zh-CN": "提供基础认证功能和扩展认证器管理功能。"
}