16 Commits

Author SHA1 Message Date
e1a4d6cce9 feat: Add JWTKey.fromJWK method for parsing JWK to various key types 2025-02-27 14:24:19 +01:00
cd4b6ee1b9 test: Add comprehensive JWK conversion tests for various key types 2025-02-27 13:35:44 +01:00
a4b59af51d refactor: Centralize test key constants in keys_const.dart 2025-02-27 13:35:37 +01:00
948c7284af test: Add tests for iat claim 2025-02-27 12:03:37 +01:00
eb9c722e17 test: Add tests for JWT token expiration and not before checks 2025-02-27 11:50:08 +01:00
a2a494cf4a v2.16.0 2025-01-22 11:49:06 +01:00
b843d932bd add support of PEM parsing for EdDSA 2025-01-22 11:38:49 +01:00
b3aebe549c no seeding required for PSS + fix tests 2025-01-20 13:03:37 +01:00
b6056ced3c resolved issue with failed test due to incorrect signature verification. 2025-01-20 13:03:37 +01:00
f4d6ca4b9b Fix iat claim verification (#57) 2024-10-01 16:41:03 +02:00
1c9b415ddb v2.12.2 2023-12-29 01:09:21 +01:00
7144f16aa2 Fixing issue with time on exp tests 2023-12-29 01:02:23 +01:00
aab2ace88f Add testable date times (#50)
* refactor: replaces DateTime.now() with clock.now() for testability

* test: add tests for verify exp

* Refactor JWT expiration tests

---------

Co-authored-by: Jonas Roussel <go.jroussel@gmail.com>
2023-12-29 00:57:59 +01:00
f8470437ee adding brand new tests 2023-09-30 19:59:00 +02:00
39dc4a45f8 v2.0.0-nullsafety.2 2021-03-16 17:38:11 +01:00
714d8e7d52 Support EdDSA for JWT (#7) 2021-03-16 16:47:08 +01:00