simplifying encode signing tokens interface