acm-udayton / acm-udayton/ACM-Meeting-Records

[FEATURE] Create JWT de-authentication endpoint

未关闭
#158 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
backend enhancement
主要语言
Python
星标
7
派生
2
平均合并
4 天 23 小时
30 天内合并 PR
2

描述

## Feature Description

Implement a logout endpoint to revoke the user's `access_token` and `refresh_token` JWTs to end their session.

---

## Acceptance Criteria & Solution Requirements
*To close this issue, the following must be met (can be finalized in the comments):*
- [ ] 1. Application runs as expected with the new feature integrated seamlessly.
- [ ] 2. Code quality metrics are maintained, and linting has been considered in development.
- [ ] 3. Testing metrics are maintained, and tests have been updated/added wherever relevant during development.
- [ ] 4. Documentation has been updated to reflect the changes made during development.
- [ ] 5. Add a /api/v1/logout endpoint to add the user's `access_token` and `refresh_token` JWTs to the database's `revoked_jwts` table.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。