Commit Graph

5 Commits

Author SHA1 Message Date
fa9c5b3efe Add test for list api keys 2022-05-27 18:36:18 +08:00
b7206457b4 Add test for revoke api key 2022-05-27 18:36:17 +08:00
333b0259ba Fix tests 2022-05-27 18:33:49 +08:00
d1c2721b95 Add expiration date to api key generation (#495)
* Add exp to jwt token

* Add expiredAt in generate api key input

* Check exp in claim

* Add tests
2022-04-28 09:09:40 +08:00
2ebdaba780 add generate api key api and test (#392)
* add generate api key api and test

* test if user can make api call with the api key
2022-04-12 12:11:45 +08:00