@Test
public void testParse(){
//定义字符串,模拟用户传递过来的token
String token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" +
".eyJ1c2VyIjp7ImlkIjoiMSIsInVzZXJuYW1lIjoi5byg5LiJIn0sImV4cCI6MTc0NTk0MTAyNX0" +
".mpY6Ui4-Sg5rVIjqFR_TP1tCvFsPmXqttXMxsEeyrZo";
JWTVerifier itheima = JWT.require(Algorithm.HMAC256("itheima")).build();
DecodedJWT verify = itheima.verify(token);
Map<String, Claim> claims = verify.getClaims();
System.out.println(claims.get("user"));
}