jwt_decoder 1.0.3 jwt_decoder: ^1.0.3 copied to clipboard
This small library helps you to decode Json Web Tokens, you can also know if a JWT is already expired.
[1.0.0] - decode() and isExpired() methods #
- 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
[1.0.1] - Example file #
- An example file was added
[1.0.2] - License was added #
[1.0.3] - getExpirationDate() and getTokenTime() methods #
- getExpirationDate() returns the expiration date of the token
- getTokenTime() you can use this method to know how old your token is