Registry / auth / jjwt-orgjson

jjwt-orgjson

JSON →
library0.13.0javamavenunverified

JSON Web Token (JWT) library for Java and Android, with support for org.json serialization.

<dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt-orgjson</artifactId> <version>0.13.0</version> </dependency>
INSTALL
IMPORT
SIG · JJWT-ORGJSON
J
jjwt-orgjson
authjavav0.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jwts
io.jsonwebtoken.Jwts

Creating a signed JWT token with JJWT.

import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; public class Example { public void createJwt() { String jwt = Jwts.builder() .setSubject("user123") .signWith(SignatureAlgorithm.HS256, "secret") .compact(); System.out.println(jwt); } }
Debug
Known issues
gotchaUse strong secrets and consider using JWS or JWE for production.
fix
Use a key generator and store secrets securely.
affects: >=0.10.0
Upgrade
Version history
0.13.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
jjwt-orgjson — mvn dependency:get jjwt-orgjson · libregistry