code: public String getIdFromToken(String token) {
          try {
              final Claims claims = getClaimsFromToken(token);
              return (String) claims.get(CLAIM_KEY_ID);
          } catch (Exception e) {
              log.error("get id from jwt token error : {}", e.getMessage());
              return null;
          }
      }
docs: 重token中获取用户登录名称
  
  @param token 当前token
  @return 当前登录用户登录名