kernelci / kernelci/kernelci-api
Add argument for token expiry date
- Vorherrschende Sprache
- Python
- Sterne
- 10
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, authentication, cli, testing
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100