This website works better with JavaScript.
Explore
Help
Register
Sign In
wangrunpu
/
stm32-iot-vben5
Watch
1
Star
0
Fork
You've already forked stm32-iot-vben5
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4efebb8c0b
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '4efebb8c0b'
${ noResults }
stm32-iot-vben5
/
apps
/
backend-mock
/
.env
4 lines
92 B
Raw
Normal View
History
Unescape
Escape
feat: use simpler nitro instead of nestjs to implement mock service
1 year ago
PORT
=
5320
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>
1 year ago
ACCESS_TOKEN_SECRET
=
access_token_secret
REFRESH_TOKEN_SECRET
=
refresh_token_secret