jwt_decoder 1.0.4 copy "jwt_decoder: ^1.0.4" to clipboard
jwt_decoder: ^1.0.4 copied to clipboard

outdated

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

[1.0.4] - Minor improvements #

  • isExpired() and getExpirationDate() the expiration time is converted to int
524
likes
40
points
509k
downloads

Publisher

unverified uploader

Weekly Downloads

This small library helps you to decode Json Web Tokens, you can also know if a JWT is already expired.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on jwt_decoder