def METHOD_NAME(username, password, token):
    # https://dns.mangoxo.com/libs/plugins/phoenix-ui/js/phoenix-ui.js
    params = [
        ("username" , username),
        ("password" , password),
        ("token"    , token),
        ("timestamp", str(int(time.time()))),
    ]
    query = "&".join("=".join(item) for item in sorted(params))
    query += "&secretKey=340836904"
    sign = hashlib.md5(query.encode()).hexdigest()
    params.append(("sign", sign.upper()))
    return params