Skip to content

A high-performance async library for JWT (JSON Web Token) authentication and authorization. Supports token generation, validation, and custom claims with optimized memory usage, ideal for HTTP clients/servers and web applications.

License

Notifications You must be signed in to change notification settings

crates-dev/jwt-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jwt-service

Official Documentation

Api Docs

A high-performance async library for JWT (JSON Web Token) authentication and authorization. Supports token generation, validation, and custom claims with optimized memory usage, ideal for HTTP clients/servers and web applications.

Features

  • Token generation with standard and custom claims
  • Token validation and verification
  • Support for custom extra claims via HashMap
  • Configurable expiration and issuer settings
  • Full serialization/deserialization support with Serde
  • Error handling with detailed validation errors

Installation

To use this crate, you can run cmd:

cargo add jwt-service

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.

About

A high-performance async library for JWT (JSON Web Token) authentication and authorization. Supports token generation, validation, and custom claims with optimized memory usage, ideal for HTTP clients/servers and web applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages