Commit graph

27 commits

Author SHA1 Message Date
Evan
0371e488e9 test fix/lint 2025-08-21 11:02:53 -07:00
Cursor Agent
e6e7a728a0 Enhance token JWT validation in TokensConsoleClientTest with comprehensive checks
Co-authored-by: evanleair <evanleair@gmail.com>
2025-08-21 16:10:06 +00:00
Evan
2beb6ba0cf
Update tests/e2e/Services/Tokens/TokensConsoleClientTest.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2025-08-20 12:51:25 -07:00
Evan
3ed5699876 Better jwt handling and tests 2025-08-18 10:57:15 -07:00
Evan
f5f6ec71de Address stnguyen90 feedback: simplify JWT logic and fix test expectations
- Remove excessive logic and 1-minute expiration hack as requested
- Simplify token expiry handling to directly use existing  value
- Remove problematic test that creates tokens with past expiry dates
- Update existing test to properly verify JWT expiration behavior
- Use proper base64url decoding for JWT payload testing
2025-08-18 09:39:19 -07:00
Evan
3a9353a78b linter 2025-08-15 17:35:49 -07:00
Evan
eec62752ed fix - incorrect file token expiry 2025-08-15 16:27:48 -07:00
Darshan
7ca951ed81 remove: {} 2025-07-08 15:43:51 +05:30
Darshan
020814e672 update: inline guest headers. 2025-07-08 15:43:28 +05:30
Darshan
7ea896301f update: test to include preview, view and download with file-security. 2025-07-08 15:42:38 +05:30
Darshan
97d5f0f030 add: e2e. 2025-07-08 15:34:52 +05:30
Darshan
bebd103611 update: token scopes tests for console client. 2025-05-15 19:22:53 +05:30
Darshan
1ab724ff04 update: token scopes tests. 2025-05-15 19:13:51 +05:30
Darshan
4e9f137e55 remove: jwt logic. serve the jwt directly from the model itself. 2025-05-13 15:41:26 +05:30
Darshan
64a24b2211 update: tests for getFileDownload with resourceToken and misc changes. 2025-04-30 10:10:35 +05:30
Darshan
1170fd0ee9 update: tests for getFileDownload with resourceToken. 2025-04-30 09:52:27 +05:30
Darshan
eee9adc325 update: use constant. 2025-04-29 19:52:40 +05:30
Darshan
9ae22ae3fe add: resourceId check. 2025-04-29 19:52:14 +05:30
Darshan
5208e69543 add: infinite expiry test. 2025-04-29 19:46:35 +05:30
Darshan
645b04cf32 fix: tests. 2025-04-29 19:37:39 +05:30
Darshan
6c86faa5d4 add: file tokens tests. 2025-04-29 18:25:39 +05:30
Chirag Aggarwal
ba0a6f0097 chore: added requires scopes, fix call method 2025-02-05 14:14:03 +00:00
Chirag Aggarwal
ca7cf765b2 chore: refactor tokens 2025-02-05 09:22:35 +00:00
Damodar Lohani
e21467d9f0 format 2024-12-05 05:40:52 +00:00
Damodar Lohani
285544d2d6 delete token test 2024-12-04 09:39:30 +00:00
Damodar Lohani
d32dc0a4d9 tokens test and scopes 2024-11-18 08:52:16 +00:00
Damodar Lohani
0d1fec47c6 tokens test 2024-11-18 08:00:14 +00:00