admin-vben5/apps/web-antd/src
Li Kui 01d60336a6
feat: refactor and improve the request client and support refreshToken (#4157)
* feat: refreshToken

* chore: store refreshToken

* chore: generate token using jsonwebtoken

* chore: set refreshToken in httpOnly cookie

* perf: authHeader verify

* chore: add add response interceptor

* chore: test refresh

* chore: handle logout

* chore: type

* chore: update pnpm-lock.yaml

* chore: remove test code

* chore: add todo comment

* chore: update pnpm-lock.yaml

* chore: remove default interceptors

* chore: copy codes

* chore: handle refreshToken invalid

* chore: add refreshToken preference

* chore: typo

* chore: refresh token逻辑调整

* refactor: interceptor presets

* chore: copy codes

* fix: ci errors

* chore: add missing await

* feat: 完善refresh-token逻辑及文档

* fix: ci error

* chore: filename

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-08-19 22:59:42 +08:00
..
api feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
layouts feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
locales refactor: migrate demo applications to playground (#4116) 2024-08-11 16:09:32 +08:00
router perf: all icons used in the core are offline (#4173) 2024-08-17 21:11:07 +08:00
store feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
views perf: all icons used in the core are offline (#4173) 2024-08-17 21:11:07 +08:00
app.vue feat: add naive app 2024-07-31 00:19:17 +08:00
bootstrap.ts refactor: Separate store 2024-07-30 21:10:28 +08:00
main.ts refactor: Integrate the @vben-core/shared package 2024-07-30 21:05:03 +08:00
preferences.ts feat: Support multiple application launch scripts 2024-07-31 00:29:15 +08:00