Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

monorepo / venus

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • venus
  • apps
  • backend-mock
  • package.json
  • Li Kui's avatar
    feat: refactor and improve the request client and support refreshToken (#4157) · 01d60336 ...
    * 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>
    Li Kui committed Aug 19, 2024
    01d60336
package.json 372 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
  "name": "@vben/backend-mock",
  "version": "0.0.1",
  "description": "",
  "private": true,
  "license": "MIT",
  "author": "",
  "scripts": {
    "build": "nitro build",
    "start": "nitro dev"
  },
  "dependencies": {
    "jsonwebtoken": "^9.0.2",
    "nitropack": "^2.9.7"
  },
  "devDependencies": {
    "@types/jsonwebtoken": "^9.0.6",
    "h3": "^1.12.0"
  }
}