UserInfo claims = new UserInfo(new Subject("alice"));
claims.setName("Alice Adams");
claims.setEmail(new InternetAddress("alice@wonderland.net"));
claims.setEmailVerified(true);
JWTClaimsSet claimsSet = claims.toJWTClaimsSet();
Secret secret = new Secret();
SignedJWT jwt = new SignedJWT(new JWSHeader(JWSAlgorithm.HS256), claimsSet);