FLUTTER ECOSYSTEM

dart_jsonwebtoken

An easy to use JSON Web Token (JWT) implementation in Dart with all algorithms supported.

Latest version
3.4.1
30-day downloads
1.8M
Likes
360
Pub points
160

Package Overview

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

Overview

A straightforward Dart implementation for creating, signing, and verifying JSON Web Tokens (JWTs) with full support for all standard algorithms. It enables secure token handling across multiple platforms, making it ideal for authentication and authorization workflows in Flutter and other Dart applications. The package is lightweight, well-documented, and designed for ease of integration without sacrificing security.

Use cases
  • User authentication
  • API authorization
  • Secure session management
  • Token-based access control
  • Cross-service communication
Key features
  • Supports all JWT algorithms
  • Easy-to-use API
  • Cross-platform compatibility
  • Built-in validation
  • Secure token generation
Suitable for
  • Flutter apps requiring auth
  • Backend services using JWT
  • Mobile and web applications
  • APIs needing secure tokens
  • Developers prioritizing simplicity and security
Considerations
  • Requires careful key management
  • Not suitable for high-performance token-heavy workloads
  • Depends on proper configuration to avoid vulnerabilities
  • Limited to JWT-specific use cases
  • No built-in token expiration handling beyond standard claims
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add dart_jsonwebtoken

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects

Rankings