mirror of
https://github.com/jonasroussel/dart_jsonwebtoken.git
synced 2025-05-18 00:25:52 +08:00
v2.16.0
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## 2.16.0
|
||||
|
||||
- Add support of PEM parsing for EdDSA keys with `EdDSAPrivateKey.fromPem` and `EdDSAPublicKey.fromPem`
|
||||
|
||||
## 2.15.0
|
||||
|
||||
- Added support for PSS alogrithm varations (https://github.com/jonasroussel/dart_jsonwebtoken/pull/59)
|
||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Jonas Roussel
|
||||
Copyright (c) 2025 Jonas Roussel
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: dart_jsonwebtoken
|
||||
description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT).
|
||||
version: 2.15.0
|
||||
version: 2.16.0
|
||||
repository: https://github.com/jonasroussel/dart_jsonwebtoken
|
||||
homepage: https://github.com/jonasroussel/dart_jsonwebtoken#readme
|
||||
|
||||
@ -10,6 +10,7 @@ environment:
|
||||
false_secrets:
|
||||
- /example/*.pem
|
||||
- /test/*
|
||||
- /README.md
|
||||
|
||||
dependencies:
|
||||
crypto: ^3.0.3
|
||||
|
@ -25,6 +25,9 @@ MCowBQYDK2VwAyEAEi7MNW0Q9T83UA3Rw+8DbspMgqeuxCqa2wXaWS+tHqY=
|
||||
|
||||
void main() {
|
||||
group('Verify a JWT', () {
|
||||
//--------//
|
||||
// Claims //
|
||||
//--------//
|
||||
group('Claims', () {
|
||||
group('iat', () {
|
||||
final oneMinuteAgo = DateTime.now().subtract(Duration(minutes: 1));
|
||||
@ -81,6 +84,7 @@ void main() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
//------//
|
||||
// HMAC //
|
||||
//------//
|
||||
|
Reference in New Issue
Block a user