public static boolean verifyToken(final String token, final String key) {
        try {
            JWTVerifier verifier = JWT.require(Algorithm.HMAC256(key)).build();
            verifier.verify(token);
            return true;
        } catch (JWTVerificationException e) {
            LOG.error("jwt decode fail, token: {} ", token, e);
        }
        return false;
    }
generate jwt token.

@param userName      login's userName
@param key           secretKey
@param clientId      clientId
@param expireSeconds expireSeconds
@return token
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/JwtUtils.java