kernelci / kernelci/kernelci-api

Add argument for token expiry date

Đang mở
#385 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
10
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
api, authentication, cli, testing
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.