FLUTTER ECOSYSTEM

jwt_decode

A easy dart package to decode JSON Web Tokens, and to check and give its expiry dates

Latest version
0.3.1
30-day downloads
611K
Likes
123
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A simple Dart package for decoding JSON Web Tokens (JWTs), enabling easy access to payload data and verification of expiration dates. It supports parsing JWTs across multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for applications requiring secure token handling, such as authentication systems or API integrations. With minimal setup via `flutter pub add jwt_decode`, developers can quickly extract claims and validate token validity.

Use cases
  • Authentication workflows
  • API token validation
  • User session management
  • Secure data exchange
  • Token expiry checks
Key features
  • Easy JWT decoding
  • Expiration date validation
  • Cross-platform support
  • Minimal setup
  • Payload claim extraction
Suitable for
  • Mobile app developers
  • Web application builders
  • Backend service integrators
  • Security-focused projects
  • Authentication system implementers
Considerations
  • Does not verify signatures
  • Requires external validation for security
  • Limited to decoding, not signing
  • Not suitable for production without additional checks
  • Depends on correct token format
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add jwt_decode

Categories

Source repository

Related projects