Impl /auth/token/delete

This commit is contained in:
2022-10-17 06:08:29 +00:00
committed by GitHub
parent d95885749a
commit 3c6c9f5812
7 changed files with 200 additions and 16 deletions

View File

@@ -44,3 +44,8 @@
* 方法: `GET``POST`
* RESTful: `PUT /api/auth/token``PUT /auth/token`
* 鉴权:不需要
## 移除Token
* 路径: `/api/auth/token/delete``/auth/token/delete`
* 方法: `GET``POST`
* RESTful: `DELETE /api/auth/token``DELETE /auth/token`
* 鉴权:需要(删除其他用户的Token仅管理员)