This topic created in 1978 days ago, the information mentioned may be changed or developed.
jsonwebtoken 可以 sign 一个 token,也可以 verify 一个 token,那 koa-jwt 这种存在的意义是什么?
1 replies • 2021-06-10 10:27:54 +08:00
 |
|
koa-jwt 只是在 jsonwebtoken 基础封装了一层适合 koa 的中间件,比如 header 校验等 你也可以直接用 jsonwebtoken
|