acmutd / acmutd/acmutd-api

Create API Key expiresAt field

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Bug
Lingua principale
Go
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The POST /admin/apikeys endpoint creates an api key. the expiresAt field is optional, but if not included it defaults to being automatically expired. Could change to:
1. make the field required and throw an error if not included
2. default to expiring a year from now if not included
3. make the key never expire if not included (probably not this one)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.