From a269e2a716c30e76ea5e757441bc2e06dc9a75be Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Mon, 19 Jan 2026 16:34:49 -0500 Subject: [PATCH] Saving the test file just because. --- tests/gen_test_jwt.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/gen_test_jwt.py diff --git a/tests/gen_test_jwt.py b/tests/gen_test_jwt.py new file mode 100644 index 0000000..1dd5d7f --- /dev/null +++ b/tests/gen_test_jwt.py @@ -0,0 +1,15 @@ +import jwt +import time + +JWT_KEY = 'EHmSXZFKfMEW65E8kxCKmQ' +AGENT_API_KEY = 'IDF68Em5X4HTZlswRNgepQ' +ACCOUNT_ID_RANDOM = 'nqOzejLCDXM' + +payload = { + 'iat': time.time(), + 'eat': time.time() + 300, + 'account_id': ACCOUNT_ID_RANDOM +} + +token = jwt.encode(payload, JWT_KEY, algorithm='HS256') +print(token)