A Java implementation of JSON Web Token (JWT) - RFC 7519. This library requires Java 8 or higher. The last version that supported Java 7 was 3.11.0. The library implements JWT Verification and Signing using several algorithms. The Algorithm defines how a token is signed and verified. It can be instantiated with the raw value of the secret in the case of HMAC algorithms, or the key pairs or KeyProvider in the case of RSA and ECDSA algorithms. Once created, the instance is reusable for token signing and verification operations. When using RSA or ECDSA algorithms and you just need to sign JWTs you can avoid specifying a Public Key by passing a null value. The same can be done with the Private Key when you just need to verify JWTs.

Features

  • Create and sign a Token
  • Verify a Token
  • Decode a Token
  • You can also specify a custom value for a given Date claim
  • The Algorithm defines how a token is signed and verified
  • Sign JWTs you can avoid specifying a Public Key

Project Samples

Project Activity

See All Activity >

Categories

Web Services

License

MIT License

Follow Java JWT

Java JWT Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Java JWT!

Additional Project Details

Programming Language

Java

Related Categories

Java Web Services Software

Registered

2021-12-02