kernelci / kernelci/kernelci-api
Add argument for token expiry date
- 主要语言
- Python
- 星标
- 10
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
描述
The current `/token` endpoint does not provide a way for clients to specify the lifetime of the token to be generated. This should be added as a way to override the internal API default expiry value.
- [ ] expiry date / time added to the `/token` endpoint
- [ ] unit tests updated accordingly
- [ ] end-to-end tests updated accordingly
- [ ] `--expiry` option added to `kci user token` and underlying API Python bindings in `kernelci-core`
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start at the `/token` endpoint and inspect the existing unit and end-to-end tests. Then trace `kci user token` and its underlying API Python bindings in `kernelci-core`; done means the expiry override works across the endpoint, bindings, CLI option, unit tests, and end-to-end tests.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, authentication, cli, testing
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100