jwt_decoder
This small library helps you to decode Json Web Tokens, you can also know if a JWT is already expired.
2.0.1
589K downloads/mo
#469 most downloaded on pub.dev
gustavo0197/dart-jwt-decoder
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 5 of 7 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
7 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · May 2020 to Mar 2021
2021
2022
2023
2024
2025
2026
Releases
latest 7-
2.0.126 Mar 2021Nothing published for this version
-
2.0.006 Mar 2021Release notes
Open source →- Updated SDK dependency version to 2.12.0+
- Avoid all null returns and replaced them with
FormatExceptionthrows when tokens are not valid. This is a breaking change as users expecting null returns will now get an exception instead. - Added
JwtDecodermethods documentation. - Replaced flutter framework dependencies to Dart only dependency.
-
1.0.426 Jan 2021Release notes
Open source →- isExpired() and getExpirationDate() the expiration time is converted to int
-
1.0.320 Oct 2020Release notes
Open source →- getExpirationDate() returns the expiration date of the token
- getTokenTime() you can use this method to know how old your token is
-
1.0.203 Oct 2020Nothing published for this version
-
1.0.104 May 2020 -
1.0.004 May 2020Release notes
Open source →- decode method will decode your token's payload and return a Map<String, dynamic>
- isExpired method is used to know if a token is already expired or not