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
Categories
Web ServicesLicense
MIT LicenseFollow Java JWT
Other Useful Business Software
Auth for GenAI | Auth0
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
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Java JWT!